summaryrefslogtreecommitdiff
path: root/src/modules/netlib/netlibupnp.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2014-12-16 14:57:50 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2014-12-16 14:57:50 +0000
commitc7b0966057e567854aefd057b65b3c09b795b748 (patch)
tree50fa180e60257e48c7bb12afb595a6a8da3451fb /src/modules/netlib/netlibupnp.cpp
parentd465fbfa8ead75af60f9fcdf936a13c3a4cc11a8 (diff)
-Fixed memory leak
git-svn-id: http://svn.miranda-ng.org/main/trunk@11465 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/netlib/netlibupnp.cpp')
-rw-r--r--src/modules/netlib/netlibupnp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/netlib/netlibupnp.cpp b/src/modules/netlib/netlibupnp.cpp
index 1775bbd886..b0af8dc05d 100644
--- a/src/modules/netlib/netlibupnp.cpp
+++ b/src/modules/netlib/netlibupnp.cpp
@@ -246,7 +246,7 @@ static int httpTransact(char* szUrl, char* szResult, int resSize, char* szAction
char szHost[256], szPath[256], szRes[16];
int sz = 0, res = 0;
unsigned short sPort;
- bool needClose;
+ bool needClose = false;
const char* szPostHdr = soap_post_hdr;
char* szData = (char*)mir_alloc(4096);