Skip to content

Commit

Permalink
Removed unnecessary call to SDL_free().
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Dec 25, 2014
1 parent 2cde19c commit 2285592
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/video/emscripten/SDL_emscriptenvideo.c
Expand Up @@ -72,7 +72,6 @@ Emscripten_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 2285592

Please sign in to comment.