Skip to content

Commit

Permalink
Fixed memory leak.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Feb 6, 2014
1 parent ccbf694 commit 9cf8c49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/haptic/darwin/SDL_syshaptic.c
Expand Up @@ -672,6 +672,7 @@ SDL_SYS_HapticQuit(void)

/* Free the io_service_t */
IOObjectRelease(item->dev);
SDL_free(item);
}
numhaptics = 0;
}
Expand Down

0 comments on commit 9cf8c49

Please sign in to comment.