Kaydet (Commit) 47039a11 authored tarafından Julien Nabet's avatar Julien Nabet

tdf#111561: try to fix leak in HIDRemoteControlDevice (apple_remote)

Change-Id: I6539f1cc9612eb3380381a54d3d1d674fd66cc03
Reviewed-on: https://gerrit.libreoffice.org/43329Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 7f7ed026
...@@ -452,6 +452,8 @@ static void QueueCallbackFunction(void* target, IOReturn result, void* refcon, ...@@ -452,6 +452,8 @@ static void QueueCallbackFunction(void* target, IOReturn result, void* refcon,
[allCookies addObject: [NSNumber numberWithInt:(int)cookie]]; [allCookies addObject: [NSNumber numberWithInt:(int)cookie]];
} }
CFRelease(elements);
elements=nil;
} else { } else {
return NO; return NO;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment