Index: third_party/libxslt/libexslt/common.c |
diff --git a/third_party/libxslt/libexslt/common.c b/third_party/libxslt/libexslt/common.c |
index 451a60d80af76a3dab7b49439603f3c00c0d045e..91be04fdc43fbd460aff95c35684989be99522d2 100644 |
--- a/third_party/libxslt/libexslt/common.c |
+++ b/third_party/libxslt/libexslt/common.c |
@@ -60,12 +60,6 @@ exsltNodeSetFunction (xmlXPathParserContextPtr ctxt, int nargs) { |
xsltTransformError(tctxt, NULL, tctxt->inst, |
"exsltNodeSetFunction: Failed to create a node set object.\n"); |
tctxt->state = XSLT_STATE_STOPPED; |
- } else { |
- /* |
- * Mark it as a function result in order to avoid garbage |
- * collecting of tree fragments |
- */ |
- xsltExtensionInstructionResultRegister(tctxt, obj); |
} |
if (strval != NULL) |
xmlFree (strval); |