Removed unnecessary call to SDL_free().

This commit is contained in:
Philipp Wiesemann 2014-12-25 22:08:48 +01:00
parent 93ff35dbfc
commit cb356b0bc5

View file

@ -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);
}