Fixed memory leak in Nlp::Tree