fix attempt to free non-freeable memory
This commit is contained in:
parent
4575f184a5
commit
444047fdce
1 changed files with 1 additions and 1 deletions
|
|
@ -23396,7 +23396,7 @@ static void setup_config(char *argv[])
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
picturesdir = GetUserImageDir();
|
picturesdir = GetUserImageDir();
|
||||||
#elif __APPLE__
|
#elif __APPLE__
|
||||||
picturesdir = apple_picturesPath();
|
picturesdir = strdup(apple_picturesPath());
|
||||||
#else
|
#else
|
||||||
picturesdir = get_xdg_user_dir("PICTURES", "Pictures");
|
picturesdir = get_xdg_user_dir("PICTURES", "Pictures");
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue