Removed not needed call to SDL_free().
This commit is contained in:
parent
8f0ea4bcf7
commit
bc4a24e207
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue