瀏覽代碼

Removed not needed call to SDL_free().

Philipp Wiesemann 11 年之前
父節點
當前提交
e7a659ebcc
共有 1 個文件被更改,包括 0 次插入1 次删除
  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));
     if (!device) {
         SDL_OutOfMemory();
-        SDL_free(device);
         return (0);
     }