From f2503afd6959a81d60d72c7ad44862c958da8067 Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Tue, 12 Jun 2012 09:14:31 +0200 Subject: [PATCH] Try letting NSString live longer --- src/libtomahawk/mac/FileHelpers.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libtomahawk/mac/FileHelpers.mm b/src/libtomahawk/mac/FileHelpers.mm index b8a0f0cce..ef7573761 100644 --- a/src/libtomahawk/mac/FileHelpers.mm +++ b/src/libtomahawk/mac/FileHelpers.mm @@ -203,8 +203,9 @@ static BOOL AuthorizationExecuteWithPrivilegesAndWait(AuthorizationRef authoriza NSDictionary* dict = [NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithBool:success], TKInstallerResultKey, [info objectForKey:TKInstallerDelegateKey], TKInstallerDelegateKey, error, TKInstallerErrorKey, nil]; [self notifyDelegate:dict]; + // TODO Do not release yet as seems to crash on some systems. // [fromPath release]; - [toPath release]; +// [toPath release]; }