fix attempt to free non-freeable memory

This commit is contained in:
Mark Kim 2021-03-23 22:26:49 -04:00
parent c3cce36fc0
commit 8db052c9d3

View file

@ -23961,7 +23961,7 @@ static void setup_config(char *argv[])
#ifdef WIN32
picturesdir = GetUserImageDir();
#elif __APPLE__
picturesdir = apple_picturesPath();
picturesdir = strdup(apple_picturesPath());
#else
picturesdir = get_xdg_user_dir("PICTURES", "Pictures");
#endif