commit | 744acfffe537ed3922c57d28d8ea304ee9403942 | [log] [tgz] |
---|---|---|
author | Daniel Veillard <veillard@src.gnome.org> | Tue Jul 12 15:09:53 2005 +0000 |
committer | Daniel Veillard <veillard@src.gnome.org> | Tue Jul 12 15:09:53 2005 +0000 |
tree | 487315d154c5d44bfe1710fbd65bc096d306621f | |
parent | e4aaae2640843b4e1453f57c62a64d70faf95edb [diff] [blame] |
fixed bug #310105 with http_proxy environments with patch provided by * nanohttp.c: fixed bug #310105 with http_proxy environments with patch provided by Peter Breitenlohner Daniel
diff --git a/nanohttp.c b/nanohttp.c index de89ab7..def66b3 100644 --- a/nanohttp.c +++ b/nanohttp.c
@@ -248,8 +248,10 @@ void xmlNanoHTTPCleanup(void) { - if (proxy != NULL) + if (proxy != NULL) { xmlFree(proxy); + proxy = NULL; + } #ifdef _WINSOCKAPI_ if (initialized) WSACleanup();