cvs: php4 /ext/standard html.c

From: Date: Sat, 08 Mar 2003 14:37:01 +0000
Subject: cvs: php4 /ext/standard html.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-19458@lists.php.net to get a copy of this message
sesser Sat Mar 8 09:37:01 2003 EDT Modified files: /php4/ext/standard html.c Log: fixing memory leak Index: php4/ext/standard/html.c diff -u php4/ext/standard/html.c:1.73 php4/ext/standard/html.c:1.74 --- php4/ext/standard/html.c:1.73 Thu Mar 6 18:07:27 2003 +++ php4/ext/standard/html.c Sat Mar 8 09:37:01 2003 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: html.c,v 1.73 2003/03/06 23:07:27 ddhill Exp $ */ +/* $Id: html.c,v 1.74 2003/03/08 14:37:01 sesser Exp $ */ #include "php.h" #if PHP_WIN32 @@ -840,6 +840,7 @@ } replaced = php_escape_html_entities(str, str_len, &len, all, quote_style, hint_charset TSRMLS_CC); + efree(str); RETVAL_STRINGL(replaced, len, 0); } /* }}} */

« previous php.cvs (#19458) next »