Fixed memory leak temporary

This commit is contained in:
Xinchen Hui committed 2014-03-04 20:29:48 +08:00
1 parent c1ec21e265
commit f853449ce8
1 file changed
+2 -1
+2 -1
View File
@@ -1118,7 +1118,8 @@ PHPAPI PHP_FUNCTION(fgetss)
retval_len = php_strip_tags(retval, actual_len, &stream->fgetss_state, allowed_tags, allowed_tags_len);
//??? RETURN_STRINGL(retval, retval_len, 0);
RETURN_STRINGL(retval, retval_len);
RETVAL_STRINGL(retval, retval_len);
efree(retval);
}
/* }}} */