mirror of
https://github.com/encounter/SDL.git
synced 2025-12-09 13:37:56 +00:00
Fixed memory leak.
This commit is contained in:
@@ -672,6 +672,7 @@ SDL_SYS_HapticQuit(void)
|
||||
|
||||
/* Free the io_service_t */
|
||||
IOObjectRelease(item->dev);
|
||||
SDL_free(item);
|
||||
}
|
||||
numhaptics = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user