Fixed memory leak.
parent
ccbf6943e7
commit
9cf8c49c39
|
@ -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