[Libreoffice-commits] core.git: apple_remote/source

Julien Nabet serval2412 at yahoo.fr
Thu Oct 12 05:42:05 UTC 2017


 apple_remote/source/HIDRemoteControlDevice.m |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit b8a6998342fbbeb77bca354df306dd94d94d57e9
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Thu Oct 12 07:12:40 2017 +0200

    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 at yahoo.fr>
    Tested-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/apple_remote/source/HIDRemoteControlDevice.m b/apple_remote/source/HIDRemoteControlDevice.m
index eb62c02f52df..d7aaeaecb4e7 100644
--- a/apple_remote/source/HIDRemoteControlDevice.m
+++ b/apple_remote/source/HIDRemoteControlDevice.m
@@ -424,7 +424,6 @@ static void QueueCallbackFunction(void* target,  IOReturn result, void* refcon,
 
 	if (success == kIOReturnSuccess) {
 
-		[elements autorelease];
 		/*
 		cookies = calloc(NUMBER_OF_APPLE_REMOTE_ACTIONS, sizeof(IOHIDElementCookie));
 		memset(cookies, 0, sizeof(IOHIDElementCookie) * NUMBER_OF_APPLE_REMOTE_ACTIONS);


More information about the Libreoffice-commits mailing list