fix attempt to free non-freeable memory
This commit is contained in:
parent
c3cce36fc0
commit
8db052c9d3
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue