Skip to content

Commit

Permalink
Removed unnecessary call to free() in testoverlay2 program.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed May 20, 2017
1 parent fa3944b commit 088f57a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/testoverlay2.c
Expand Up @@ -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);
}

Expand Down

0 comments on commit 088f57a

Please sign in to comment.