Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/drtimcooper/XmlRpc4Win.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnderground78 <underground78@users.sourceforge.net>2016-01-14 23:59:01 +0300
committerUnderground78 <underground78@users.sourceforge.net>2016-01-14 23:59:01 +0300
commit4106a9287eb0c309a98e907859cd8a04da67063c (patch)
treee9cf3990076b3bc48f91376ad0b40069ae1ae6af
parent0ef1371b9d736a034e95270966c6c72c1581ad72 (diff)
XmlRpcImplementation::execute: Fix a memory leak.
Found with Coverity.
-rw-r--r--TimXmlRpc.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/TimXmlRpc.cpp b/TimXmlRpc.cpp
index 60eb0d7..2434a0a 100644
--- a/TimXmlRpc.cpp
+++ b/TimXmlRpc.cpp
@@ -1623,6 +1623,7 @@ RETRY:
sprintf(buf, "Low level (HTTP) error: %d %s", HttpErrcode, status_text);
errmsg = buf;
}
+ free(status_text);
InternetCloseHandle(hHttpFile);
free(buf);
return false;