Removed not needed call to SDL_free().
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Wed, 25 Mar 2015 22:48:57 +0100
changeset 9444 d0865e9f674a
parent 9443 d0ffa280c3fc
child 9445 17095a4130ce
Removed not needed call to SDL_free().
src/video/dummy/SDL_nullvideo.c
--- a/src/video/dummy/SDL_nullvideo.c	Wed Mar 25 22:47:22 2015 +0100
+++ b/src/video/dummy/SDL_nullvideo.c	Wed Mar 25 22:48:57 2015 +0100
@@ -82,7 +82,6 @@
     device = (SDL_VideoDevice *) SDL_calloc(1, sizeof(SDL_VideoDevice));
     if (!device) {
         SDL_OutOfMemory();
-        SDL_free(device);
         return (0);
     }