Following tdf#111561: no need to autorelease "elements" (apple_remote)
Change-Id: Ic074af74a9f48618ac1c4b3752b15661f2003815 Reviewed-on: https://gerrit.libreoffice.org/43333 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
parent
a66c7dc101
commit
b8a6998342
1 changed files with 0 additions and 1 deletions
|
@ -424,7 +424,6 @@ static void QueueCallbackFunction(void* target, IOReturn result, void* refcon,
|
||||||
|
|
||||||
if (success == kIOReturnSuccess) {
|
if (success == kIOReturnSuccess) {
|
||||||
|
|
||||||
[elements autorelease];
|
|
||||||
/*
|
/*
|
||||||
cookies = calloc(NUMBER_OF_APPLE_REMOTE_ACTIONS, sizeof(IOHIDElementCookie));
|
cookies = calloc(NUMBER_OF_APPLE_REMOTE_ACTIONS, sizeof(IOHIDElementCookie));
|
||||||
memset(cookies, 0, sizeof(IOHIDElementCookie) * NUMBER_OF_APPLE_REMOTE_ACTIONS);
|
memset(cookies, 0, sizeof(IOHIDElementCookie) * NUMBER_OF_APPLE_REMOTE_ACTIONS);
|
||||||
|
|
Loading…
Reference in a new issue