summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/standard/html.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/standard/html.c b/ext/standard/html.c
index 6db62114c1..fe3b9ad940 100644
--- a/ext/standard/html.c
+++ b/ext/standard/html.c
@@ -840,7 +840,6 @@ 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);
}
/* }}} */