Free the correct variable.
This commit is contained in:
parent
729201110d
commit
08107940e9
1 changed files with 1 additions and 1 deletions
|
@ -461,7 +461,7 @@ CreateHIDDeviceMatchDictionary(const UInt32 page, const UInt32 usage, int *okay)
|
|||
CFRelease(pageNumRef);
|
||||
}
|
||||
if (usageNumRef) {
|
||||
CFRelease(pageNumRef);
|
||||
CFRelease(usageNumRef);
|
||||
}
|
||||
|
||||
if (!retval) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue