mirror of
https://github.com/encounter/SDL.git
synced 2025-12-10 22:17:59 +00:00
Removed not needed call to SDL_free().
This commit is contained in:
@@ -82,7 +82,6 @@ DUMMY_CreateDevice(int devindex)
|
|||||||
device = (SDL_VideoDevice *) SDL_calloc(1, sizeof(SDL_VideoDevice));
|
device = (SDL_VideoDevice *) SDL_calloc(1, sizeof(SDL_VideoDevice));
|
||||||
if (!device) {
|
if (!device) {
|
||||||
SDL_OutOfMemory();
|
SDL_OutOfMemory();
|
||||||
SDL_free(device);
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user