summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-12-26 22:36:21 +0000
committerWez Furlong <wez@php.net>2002-12-26 22:36:21 +0000
commit055f1f483ed5a7e1b74f0ce2003228436ef9ede8 (patch)
tree2732c0d5a1cd0428c194d294b310e6a74fec4006
parenta493c51949c683143f13d8355346855a1642caa1 (diff)
downloadphp-git-055f1f483ed5a7e1b74f0ce2003228436ef9ede8.tar.gz
MFH: get_meta_tags() stream leak
-rw-r--r--ext/standard/file.c5
1 files changed, 0 insertions, 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;