diff options
-rw-r--r-- | TimXmlRpc.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/TimXmlRpc.cpp b/TimXmlRpc.cpp index 20f2317..5bbe586 100644 --- a/TimXmlRpc.cpp +++ b/TimXmlRpc.cpp @@ -1118,6 +1118,7 @@ void XmlRpcValue::structFromXml(const char* &s) XmlRpcValue val; val.fromXml(s); if ( ! val.valid()) { + free(name); invalidate(); return; } |