Commit e7a659ebcc20087d84682712bc9c782fb86b0699

Philipp Wiesemann 2015-03-25T22:48:57

Removed not needed call to SDL_free().

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/video/dummy/SDL_nullvideo.c b/src/video/dummy/SDL_nullvideo.c
index 28147bd..79f831e 100644
--- a/src/video/dummy/SDL_nullvideo.c
+++ b/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);
     }