Skip to content
Permalink
Browse files

Removed unnecessary call to SDL_free().

  • Loading branch information
philippwiesemann committed Dec 25, 2014
1 parent 2cde19c commit 22855927ce29c95c171bbcee50f0f89ea20708d9
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/video/emscripten/SDL_emscriptenvideo.c
@@ -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);
}

0 comments on commit 2285592

Please sign in to comment.