[Yaml] release memory after parsing

This commit is contained in:
Christian Flothmann 2017-04-11 09:48:47 +02:00
parent f8e1098712
commit c891413f6c
1 changed files with 6 additions and 0 deletions

View File

@ -86,6 +86,12 @@ class Parser
mb_internal_encoding($mbEncoding);
}
$this->lines = array();
$this->currentLine = '';
$this->refs = array();
$this->skippedLineNumbers = array();
$this->locallySkippedLineNumbers = array();
if (null !== $e) {
throw $e;
}