mirror of
https://github.com/php/php-src.git
synced 2024-09-23 02:47:26 +00:00
Remove cruft that opened a stream that was never closed in get_meta_tags().
(probably my fault). Noticed by Philip Olson
This commit is contained in:
parent
457f22c198
commit
bb640840c3
@ -273,15 +273,10 @@ 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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user