mirror of https://github.com/encounter/SDL.git
Fixed memory leak.
This commit is contained in:
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