fixed memory leak (patch 685580)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
da804130ba
commit
2b293fc78f
@ -1879,6 +1879,10 @@ int wxMimeTypesManagerImpl::AddToMimeData(const wxString& strType,
|
||||
entryOld->AddOrReplaceVerb(verb, entry->GetCmd(i));
|
||||
}
|
||||
}
|
||||
|
||||
// as we don't store it anywhere, it won't be deleted later as
|
||||
// usual -- do it immediately instead
|
||||
delete entry;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user