missing release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -338,6 +338,7 @@ bool wxIcon::LoadIconFromBundleResource(const wxString& resourceName, int desire
|
|||||||
{
|
{
|
||||||
err = GetIconRefFromIconFamilyPtr( *iconFamily, GetHandleSize((Handle) iconFamily), &iconRef );
|
err = GetIconRefFromIconFamilyPtr( *iconFamily, GetHandleSize((Handle) iconFamily), &iconRef );
|
||||||
}
|
}
|
||||||
|
ReleaseResource( (Handle) iconFamily );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user