Skip to content

Commit 2d321bd

Browse files
committed
Refs #1964 - remove obsolete/deprecated method call
1 parent b8a9c87 commit 2d321bd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Phing/Parser/ExpatParser.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,10 @@ public function parse()
139139
if (!xml_parse($this->parser, $data, $this->reader->eof())) {
140140
$error = xml_error_string(xml_get_error_code($this->parser));
141141
$e = new ExpatParseException($error, $this->getLocation());
142-
xml_parser_free($this->parser);
143142

144143
throw $e;
145144
}
146145
}
147-
xml_parser_free($this->parser);
148146

149147
return 1;
150148
}

0 commit comments

Comments
 (0)