Fixed memory leak.
This commit is contained in:
1 parent
ccbf6943e7
commit
9cf8c49c39
1 file changed
+1
@@ -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