- Memory leak fix inspired by Tilmann's patch. This patch however also releases the RDF and XSL trees when either one couldn't be parsed. Tilmann's patch works when the XSL transformation is successful but would fail on deleting the DOM trees when the transformation failed.