mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-01 07:28:30 +00:00
Use SDL_free
This commit is contained in:
@@ -181,7 +181,7 @@ SDL_GetPrefPath(const char *org, const char *app)
|
||||
dir = (char *) SDL_malloc(len);
|
||||
if (!dir) {
|
||||
SDL_OutOfMemory();
|
||||
free(canon);
|
||||
SDL_free(canon);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user