Fixed memory leak.

This commit is contained in:
Ryan C. Gordon 2014-02-05 20:07:25 -05:00
parent ccbf6943e7
commit 9cf8c49c39
1 changed files with 1 additions and 0 deletions

View File

@ -672,6 +672,7 @@ SDL_SYS_HapticQuit(void)
/* Free the io_service_t */
IOObjectRelease(item->dev);
SDL_free(item);
}
numhaptics = 0;
}