Use SDL_free
This commit is contained in:
1 parent
2004aaf3bb
commit
aef7105408
2 files changed
+3
-3
No files matched your search
@@ -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