Fixed bug #33523 (Memory leak in xmlrpc_encode_request()).

This commit is contained in:
Ilia Alshanetsky 2005-06-30 22:29:36 +00:00
parent e155585e6e
commit 138b4435dd
2 changed files with 5 additions and 0 deletions

View file

@ -667,6 +667,10 @@ PHP_FUNCTION(xmlrpc_encode_request)
XMLRPC_RequestFree(xRequest, 1);
}
}
if (out.xmlrpc_out.xml_elem_opts.encoding != ENCODING_DEFAULT) {
efree(out.xmlrpc_out.xml_elem_opts.encoding);
}
}
/* }}} */