Fix some issues caught by check_stdlib_usage.py
This commit is contained in:
parent
e8d2ccbc1c
commit
c065a9b128
15 changed files with 41 additions and 39 deletions
|
@ -63,7 +63,7 @@ char *SDL_GetPrefPath(const char *org, const char *app)
|
|||
} else {
|
||||
SDL_snprintf(retval, len, "%s%s/", base, app);
|
||||
}
|
||||
free(base);
|
||||
SDL_free(base);
|
||||
|
||||
mkdir(retval, 0755);
|
||||
return retval;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue