diff options
| -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); } /* }}} */ |
