mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-28 11:25:44 +00:00
Fixed memory leak temporary
This commit is contained in:
1 parent
c1ec21e265
commit
f853449ce8
1 file changed
+2
-1
+2
-1
@@ -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);
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
||||
Reference in new issue
Block a user