From e7a659ebcc20087d84682712bc9c782fb86b0699 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Wed, 25 Mar 2015 22:48:57 +0100 Subject: [PATCH] Removed not needed call to SDL_free(). --- src/video/dummy/SDL_nullvideo.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/video/dummy/SDL_nullvideo.c b/src/video/dummy/SDL_nullvideo.c index 28147bd18..79f831eee 100644 --- a/src/video/dummy/SDL_nullvideo.c +++ b/src/video/dummy/SDL_nullvideo.c @@ -82,7 +82,6 @@ DUMMY_CreateDevice(int devindex) device = (SDL_VideoDevice *) SDL_calloc(1, sizeof(SDL_VideoDevice)); if (!device) { SDL_OutOfMemory(); - SDL_free(device); return (0); }