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