Fixed memory leak, old lxml version