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:
Guillermo Rodriguez Garcia
2000-03-16 12:26:15 +00:00
parent 0ca580f6fb
commit 29c25a8e01
2 changed files with 23 additions and 22 deletions

View File

@@ -1282,6 +1282,9 @@ void GAddress_destroy(GAddress *address)
{
assert(address != NULL);
if (address->m_addr)
free(address->m_addr);
free(address);
}