mirror of
https://github.com/php/php-src.git
synced 2025-08-19 17:04:47 +02:00
fixes memleak in html_dump_mem
This commit is contained in:
parent
81c8b8e7a4
commit
987ab91efb
1 changed files with 1 additions and 1 deletions
|
@ -3408,7 +3408,7 @@ PHP_FUNCTION(domxml_html_dump_mem)
|
||||||
xmlFree(mem);
|
xmlFree(mem);
|
||||||
RETURN_FALSE;
|
RETURN_FALSE;
|
||||||
}
|
}
|
||||||
RETURN_STRINGL(mem, size, 1);
|
RETVAL_STRINGL(mem, size, 1);
|
||||||
xmlFree(mem);
|
xmlFree(mem);
|
||||||
}
|
}
|
||||||
/* }}} */
|
/* }}} */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue