]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/http.cpp
Various VC++ 1.5 and other corrections
[wxWidgets.git] / src / common / http.cpp
index 7d24b92f3ef1c9afbea47f2f7ea17d5b3265b145..6997cf0f364588c82d52167edc268f233ec283d3 100644 (file)
@@ -59,6 +59,11 @@ wxHTTP::~wxHTTP()
     delete string;
     node = node->Next();
   }
+
+  if (m_addr) {
+      delete m_addr;
+      m_addr = NULL;
+  }
 }
 
 wxString wxHTTP::GetContentType()