Removed unnecessary call to SDL_free().
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Thu, 25 Dec 2014 22:08:48 +0100
changeset 9294 1865bd71ef12
parent 9293 d0667f0e808a
child 9295 599e7836bb2e
Removed unnecessary call to SDL_free().
src/video/emscripten/SDL_emscriptenvideo.c
--- a/src/video/emscripten/SDL_emscriptenvideo.c	Thu Dec 25 22:07:15 2014 +0100
+++ b/src/video/emscripten/SDL_emscriptenvideo.c	Thu Dec 25 22:08:48 2014 +0100
@@ -72,7 +72,6 @@
     device = (SDL_VideoDevice *) SDL_calloc(1, sizeof(SDL_VideoDevice));
     if (!device) {
         SDL_OutOfMemory();
-        SDL_free(device);
         return (0);
     }