From cc881678a67e65cc3063e2d6d83809ba04997484 Mon Sep 17 00:00:00 2001 From: Richard Markiewicz Date: Mon, 4 Nov 2013 11:35:25 -0500 Subject: [PATCH] Update AppDelegate.m stringWithFormat returns an autoreleased object, so manually releasing message results in a crash --- client/Mac/cli/AppDelegate.m | 1 - 1 file changed, 1 deletion(-) diff --git a/client/Mac/cli/AppDelegate.m b/client/Mac/cli/AppDelegate.m index 9c5636079..612205bae 100644 --- a/client/Mac/cli/AppDelegate.m +++ b/client/Mac/cli/AppDelegate.m @@ -199,7 +199,6 @@ void AppDelegate_ConnectionResultEventHandler(void* ctx, ConnectionResultEventAr // Making sure this should be invoked on the main UI thread. [_singleDelegate performSelectorOnMainThread:@selector(rdpConnectError:) withObject:message waitUntilDone:FALSE]; - [message release]; } } }