Free the correct variable.

This commit is contained in:
Ryan C. Gordon committed 2014-02-23 01:24:46 -05:00
1 parent 295acea953
commit 96f09df730
1 file changed
+1 -1
+1 -1
View File
@@ -461,7 +461,7 @@ CreateHIDDeviceMatchDictionary(const UInt32 page, const UInt32 usage, int *okay)
CFRelease(pageNumRef);
}
if (usageNumRef) {
CFRelease(pageNumRef);
CFRelease(usageNumRef);
}
if (!retval) {