1
0
mirror of https://github.com/php/php-src.git synced 2026-03-31 12:42:29 +02:00

MFH: Fixed bug #33059 (crash when moving xml attribute set in dtd).

This commit is contained in:
Ilia Alshanetsky
2005-05-19 13:47:47 +00:00
parent 4a3aae2b74
commit bb671b8928
2 changed files with 1 additions and 1 deletions

1
NEWS
View File

@@ -11,6 +11,7 @@ PHP NEWS
- Fixed ext/mysqli to allocate less memory when fetching bound params
of type (MEDIUM|LONG)BLOB/(MEDIUM|LONG)TEXT. (Andrey)
- Fixed memory corruption in ImageTTFText() with 64bit systems. (Andrey)
- Fixed bug #33059 (crash when moving xml attribute set in dtd). (Ilia)
- Fixed bug #33019 (socket errors cause memory leaks in php_strerror()).
(jwozniak23 at poczta dot onet dot pl, Tony).
- Fixed bug #32956 (mysql_bind_result() doesn't support MYSQL_TYPE_NULL). (Georg)

View File

@@ -298,7 +298,6 @@ PHP_FUNCTION(dom_element_remove_attribute)
if (php_dom_object_get_data((xmlNodePtr) attrp) == NULL) {
node_list_unlink(attrp->children TSRMLS_CC);
xmlUnlinkNode((xmlNodePtr) attrp);
xmlFreeProp(attrp);
} else {
xmlUnlinkNode((xmlNodePtr) attrp);
}