Explorar o código

Removed not needed call to SDL_free().

Philipp Wiesemann %!s(int64=11) %!d(string=hai) anos
pai
achega
e7a659ebcc
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      src/video/dummy/SDL_nullvideo.c

+ 0 - 1
src/video/dummy/SDL_nullvideo.c

@@ -82,7 +82,6 @@ DUMMY_CreateDevice(int devindex)
     device = (SDL_VideoDevice *) SDL_calloc(1, sizeof(SDL_VideoDevice));
     device = (SDL_VideoDevice *) SDL_calloc(1, sizeof(SDL_VideoDevice));
     if (!device) {
     if (!device) {
         SDL_OutOfMemory();
         SDL_OutOfMemory();
-        SDL_free(device);
         return (0);
         return (0);
     }
     }