Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed SDL_AddHintCallback() crashing if no more memory available.
The return value of SDL_malloc() was not checked and NULL therefore not handled. Also added setting of error message for the other SDL_malloc() in this function.
- Loading branch information