Fixed memory leak.

This commit is contained in:
Ryan C. Gordon 2014-02-05 20:07:25 -05:00
parent cece2c2b93
commit 884709423e

View file

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