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

Commit

Permalink
Fixes zendframework/zendframework#6730 : close xml reader on fromFile…
Browse files Browse the repository at this point in the history
… after it open
  • Loading branch information
samsonasik authored and Ocramius committed Dec 31, 2014
1 parent 306b161 commit 5146c02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Reader/Xml.php
Original file line number Diff line number Diff line change
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 5146c02

Please sign in to comment.