diff options
author | Underground78 <underground78@users.sourceforge.net> | 2016-01-14 23:59:01 +0300 |
---|---|---|
committer | Underground78 <underground78@users.sourceforge.net> | 2016-01-14 23:59:01 +0300 |
commit | 4106a9287eb0c309a98e907859cd8a04da67063c (patch) | |
tree | e9cf3990076b3bc48f91376ad0b40069ae1ae6af | |
parent | 0ef1371b9d736a034e95270966c6c72c1581ad72 (diff) |
XmlRpcImplementation::execute: Fix a memory leak.
Found with Coverity.
-rw-r--r-- | TimXmlRpc.cpp | 1 |
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; |