X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/be2e301fc079bfc94e2f03448d25c942bad4732b..34e8f09728ccbc0929cc4da77a9e47d13634eb14:/src/cocoa/icon.mm diff --git a/src/cocoa/icon.mm b/src/cocoa/icon.mm index f3cb56d6d7..d8c612aab1 100644 --- a/src/cocoa/icon.mm +++ b/src/cocoa/icon.mm @@ -66,6 +66,7 @@ wxIconRefData::wxIconRefData( const wxIconRefData& data) wxIconRefData::~wxIconRefData() { + wxAutoNSAutoreleasePool pool; [m_cocoaNSImage release]; m_cocoaNSImage = NULL; }