From: Stefan Csomor Date: Wed, 19 Jan 2011 18:36:38 +0000 (+0000) Subject: missing release X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/58f8c1df488cbc9b836121a8ba9903e1ac1e230d missing release git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/carbon/icon.cpp b/src/osx/carbon/icon.cpp index 50bd2b8c5a..43cd52dce4 100644 --- a/src/osx/carbon/icon.cpp +++ b/src/osx/carbon/icon.cpp @@ -338,6 +338,7 @@ bool wxIcon::LoadIconFromBundleResource(const wxString& resourceName, int desire { err = GetIconRefFromIconFamilyPtr( *iconFamily, GetHandleSize((Handle) iconFamily), &iconRef ); } + ReleaseResource( (Handle) iconFamily ); } }