diff options
-rw-r--r-- | ext/standard/file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/file.c b/ext/standard/file.c index d6fc9d9543..0fc5156c48 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -1518,6 +1518,7 @@ PHP_FUNCTION(fscanf) buf = php_stream_get_line((php_stream *) what, NULL, 0, &len); if (buf == NULL) { + efree(args); RETURN_FALSE; } |