Fixed memory leak.
diff --git a/src/haptic/darwin/SDL_syshaptic.c b/src/haptic/darwin/SDL_syshaptic.c
index c4fce9c..e5a835a 100644
--- a/src/haptic/darwin/SDL_syshaptic.c
+++ b/src/haptic/darwin/SDL_syshaptic.c
@@ -672,6 +672,7 @@ SDL_SYS_HapticQuit(void)
/* Free the io_service_t */
IOObjectRelease(item->dev);
+ SDL_free(item);
}
numhaptics = 0;
}