From 055f1f483ed5a7e1b74f0ce2003228436ef9ede8 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Thu, 26 Dec 2002 22:36:21 +0000 Subject: [PATCH] MFH: get_meta_tags() stream leak --- ext/standard/file.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ext/standard/file.c b/ext/standard/file.c index 6c210d9206..d6bf21a669 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -273,14 +273,9 @@ PHP_FUNCTION(get_meta_tags) return; } - php_stream_open_wrapper(filename, "rb", 0, NULL); - - md.stream = php_stream_open_wrapper(filename, "rb", (use_include_path ? USE_PATH : 0) | ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL); - - if (!md.stream) { RETURN_FALSE; -- 2.40.0