mirror of
https://github.com/encounter/SDL.git
synced 2025-12-09 13:37:56 +00:00
Free the correct variable.
This commit is contained in:
@@ -461,7 +461,7 @@ CreateHIDDeviceMatchDictionary(const UInt32 page, const UInt32 usage, int *okay)
|
||||
CFRelease(pageNumRef);
|
||||
}
|
||||
if (usageNumRef) {
|
||||
CFRelease(pageNumRef);
|
||||
CFRelease(usageNumRef);
|
||||
}
|
||||
|
||||
if (!retval) {
|
||||
|
||||
Reference in New Issue
Block a user