From 22855927ce29c95c171bbcee50f0f89ea20708d9 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Thu, 25 Dec 2014 22:08:48 +0100 Subject: [PATCH] Removed unnecessary call to SDL_free(). --- src/video/emscripten/SDL_emscriptenvideo.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/video/emscripten/SDL_emscriptenvideo.c b/src/video/emscripten/SDL_emscriptenvideo.c index aea2f2aae..67142e9ad 100644 --- a/src/video/emscripten/SDL_emscriptenvideo.c +++ b/src/video/emscripten/SDL_emscriptenvideo.c @@ -72,7 +72,6 @@ Emscripten_CreateDevice(int devindex) device = (SDL_VideoDevice *) SDL_calloc(1, sizeof(SDL_VideoDevice)); if (!device) { SDL_OutOfMemory(); - SDL_free(device); return (0); }