mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-02-17 20:34:28 +01:00
Free the correct variable.
This commit is contained in:
parent
295acea953
commit
96f09df730
@ -461,7 +461,7 @@ CreateHIDDeviceMatchDictionary(const UInt32 page, const UInt32 usage, int *okay)
|
|||||||
CFRelease(pageNumRef);
|
CFRelease(pageNumRef);
|
||||||
}
|
}
|
||||||
if (usageNumRef) {
|
if (usageNumRef) {
|
||||||
CFRelease(pageNumRef);
|
CFRelease(usageNumRef);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!retval) {
|
if (!retval) {
|
||||||
|
Loading…
Reference in New Issue
Block a user