Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Commit

Permalink
Fixes #6730 : close xml reader on fromFile after it open
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik authored and Ocramius committed Dec 31, 2014
1 parent 97ce42a commit 4a8f0c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/Zend/Config/Reader/Xml.php
Expand Up @@ -76,6 +76,7 @@ function ($error, $message = '', $file = '', $line = 0) use ($filename) {
);
$return = $this->process();
restore_error_handler();
$this->reader->close();

return $return;
}
Expand Down

0 comments on commit 4a8f0c1

Please sign in to comment.