MSW: Grouped all MSVC #pragma disable
Unix: Fixed GAddress_destroy leak as Vadim did for MSW git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1282,6 +1282,9 @@ void GAddress_destroy(GAddress *address)
|
||||
{
|
||||
assert(address != NULL);
|
||||
|
||||
if (address->m_addr)
|
||||
free(address->m_addr);
|
||||
|
||||
free(address);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user