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