Removed unnecessary call to free() in testoverlay2 program.

This commit is contained in:
Philipp Wiesemann
2017-05-20 23:30:47 +02:00
parent ec86349dd8
commit 7fe081e5c4

View File

@@ -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);
}