]> granicus.if.org Git - php/commitdiff
fixes memleak in html_dump_mem
authorChristian Stocker <chregu@php.net>
Sat, 18 May 2002 14:23:31 +0000 (14:23 +0000)
committerChristian Stocker <chregu@php.net>
Sat, 18 May 2002 14:23:31 +0000 (14:23 +0000)
ext/domxml/php_domxml.c

index 0e5fa316767dc643fa38978df94cb6daa43ec216..bc552f233239c0e9afc5458f349cdfd4f8aa44ae 100644 (file)
@@ -3408,7 +3408,7 @@ PHP_FUNCTION(domxml_html_dump_mem)
                        xmlFree(mem);
                RETURN_FALSE;
        }
-       RETURN_STRINGL(mem, size, 1);
+       RETVAL_STRINGL(mem, size, 1);
        xmlFree(mem);
 }
 /* }}} */