Update to the 4.13.2 version of SIP

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2012-03-02 21:53:21 +00:00
parent 32c3701e4e
commit 42a1a97211
3 changed files with 16 additions and 9 deletions

View File

@@ -264,9 +264,16 @@ static void add_object(sipObjectMap *om, void *addr, sipSimpleWrapper *val)
{
sipSimpleWrapper *next = sw->next;
/* We are removing it from the map here. */
sipSetNotInMap(sw);
sip_api_common_dtor(sw);
if (sipIsAlias(sw))
{
sip_api_free(sw);
}
else
{
/* We are removing it from the map here. */
sipSetNotInMap(sw);
sip_api_common_dtor(sw);
}
sw = next;
}