- Fixed memleak in fscanf().

This commit is contained in:
Derick Rethans 2003-01-18 13:55:58 +00:00
parent a50e9acd8e
commit 39aa3a5d98

View File

@ -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;
}