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
|
@ -270,7 +270,7 @@ static SDL_AssertState SDLCALL SDL_PromptAssertion(const SDL_AssertData *data, v
|
|||
} else {
|
||||
okay = SDL_FALSE;
|
||||
}
|
||||
free(buf);
|
||||
free(buf); /* This should NOT be SDL_free() */
|
||||
|
||||
if (okay) {
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue