From 088f57a62aa727e16a7bb66889ed721229ffa990 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Sat, 20 May 2017 23:30:47 +0200 Subject: [PATCH] Removed unnecessary call to free() in testoverlay2 program. --- test/testoverlay2.c | 1 - 1 file changed, 1 deletion(-) diff --git a/test/testoverlay2.c b/test/testoverlay2.c index b5f21e005..2145c4d36 100644 --- a/test/testoverlay2.c +++ b/test/testoverlay2.c @@ -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); }