diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2014-12-16 14:57:50 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2014-12-16 14:57:50 +0000 |
commit | c7b0966057e567854aefd057b65b3c09b795b748 (patch) | |
tree | 50fa180e60257e48c7bb12afb595a6a8da3451fb /src/modules/netlib/netlibupnp.cpp | |
parent | d465fbfa8ead75af60f9fcdf936a13c3a4cc11a8 (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.cpp | 2 |
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);
|