Fixed memory leak.
This commit is contained in:
parent
cece2c2b93
commit
884709423e
1 changed files with 1 additions and 0 deletions
|
@ -672,6 +672,7 @@ SDL_SYS_HapticQuit(void)
|
|||
|
||||
/* Free the io_service_t */
|
||||
IOObjectRelease(item->dev);
|
||||
SDL_free(item);
|
||||
}
|
||||
numhaptics = 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue