mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
Removed unnecessary call to free() in testoverlay2 program.
This commit is contained in:
parent
fa3944ba39
commit
088f57a62a
1 changed files with 0 additions and 1 deletions
|
|
@ -403,7 +403,6 @@ main(int argc, char **argv)
|
|||
RawMooseData = (Uint8 *) malloc(MOOSEFRAME_SIZE * MOOSEFRAMES_COUNT);
|
||||
if (RawMooseData == NULL) {
|
||||
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Can't allocate memory for movie !\n");
|
||||
free(RawMooseData);
|
||||
quit(1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue