Update AppDelegate.m

stringWithFormat returns an autoreleased object, so manually releasing message results in a crash
This commit is contained in:
Richard Markiewicz
2013-11-04 11:35:25 -05:00
parent ce34923959
commit cc881678a6

View File

@@ -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];
}
}
}