src/joystick/darwin/SDL_sysjoystick.c
changeset 8245 2c63c27c4d1d
parent 8242 f6a2b1a6932b
child 8739 153077041e4b
--- a/src/joystick/darwin/SDL_sysjoystick.c	Sun Feb 23 01:10:33 2014 -0500
+++ b/src/joystick/darwin/SDL_sysjoystick.c	Sun Feb 23 01:24:46 2014 -0500
@@ -461,7 +461,7 @@
         CFRelease(pageNumRef);
     }
     if (usageNumRef) {
-        CFRelease(pageNumRef);
+        CFRelease(usageNumRef);
     }
 
     if (!retval) {