mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fixed bug #33523 (Memory leak in xmlrpc_encode_request()).
This commit is contained in:
parent
e155585e6e
commit
138b4435dd
2 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue