Skip to content

Commit

Permalink
Removed not needed call to SDL_free().
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Mar 25, 2015
1 parent 3767230 commit e7a659e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/video/dummy/SDL_nullvideo.c
Expand Up @@ -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);
}

Expand Down

0 comments on commit e7a659e

Please sign in to comment.