From: Kevin Ollivier Date: Fri, 13 Mar 2009 20:54:02 +0000 (+0000) Subject: Another place we need an autorelease pool. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ab9df4fb452e785836de38712af84d209113b5af Another place we need an autorelease pool. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/cocoa/utils.mm b/src/osx/cocoa/utils.mm index eb43898763..173df9c046 100644 --- a/src/osx/cocoa/utils.mm +++ b/src/osx/cocoa/utils.mm @@ -181,6 +181,7 @@ void wxMacWakeUp() bool wxApp::DoInitGui() { + wxMacAutoreleasePool pool; [NSApplication sharedApplication]; if (!sm_isEmbedded)