fix attempt to free non-freeable memory

This commit is contained in:
Mark Kim 2021-03-23 22:26:49 -04:00
parent 4575f184a5
commit 444047fdce

View file

@ -23396,7 +23396,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