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

1
NEWS
View file

@ -4,6 +4,7 @@ PHP NEWS
- Upgraded bundled SQLite library for PDO:SQLite to 3.2.2 (Ilia)
- Added PDO_MYSQL_ATTR_USE_BUFFERED_QUERY parameter for pdo_mysql. (Ilia)
- Implemented feature request #33452 (Year belonging to ISO week). (Derick)
- Fixed bug #33523 (Memory leak in xmlrpc_encode_request()). (Ilia)
- Fixed bug #33491 (crash after extending MySQLi internal class). (Tony)
- Fixed bug #33475 (cURL handle is not closed on curl_close(). (Ilia)
- Fixed bug #33469 (Compile error undefined reference to ifx_checkAPI). (Jani)

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);
}
}
/* }}} */