mirror of
https://github.com/yawut/SDL.git
synced 2026-04-24 07:16:52 -05:00
Fixed memory leak.
This commit is contained in:
parent
da6d0e63ea
commit
1aef91f898
|
|
@ -672,6 +672,7 @@ SDL_SYS_HapticQuit(void)
|
|||
|
||||
/* Free the io_service_t */
|
||||
IOObjectRelease(item->dev);
|
||||
SDL_free(item);
|
||||
}
|
||||
numhaptics = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user