Fixed incorrect destruction of parser nodes.