diff options
| author | Stefan Esser <sesser@php.net> | 2003-03-08 14:37:01 +0000 |
|---|---|---|
| committer | Stefan Esser <sesser@php.net> | 2003-03-08 14:37:01 +0000 |
| commit | 76c427fd0553b4649aab5a534c0452867cc38b41 (patch) | |
| tree | 71d64fba82718aeaffa6c85058b1bc0def24ff57 /ext/standard/html.c | |
| parent | 8f54b23faf114dc3d66e36cfcd9af6917886af04 (diff) | |
| download | php-git-76c427fd0553b4649aab5a534c0452867cc38b41.tar.gz | |
fixing memory leak
Diffstat (limited to 'ext/standard/html.c')
| -rw-r--r-- | ext/standard/html.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/html.c b/ext/standard/html.c index fe3b9ad940..6db62114c1 100644 --- a/ext/standard/html.c +++ b/ext/standard/html.c @@ -840,6 +840,7 @@ static void php_html_entities(INTERNAL_FUNCTION_PARAMETERS, int all) } replaced = php_escape_html_entities(str, str_len, &len, all, quote_style, hint_charset TSRMLS_CC); + efree(str); RETVAL_STRINGL(replaced, len, 0); } /* }}} */ |
