| Index: third_party/libxslt/libexslt/strings.c
|
| diff --git a/third_party/libxslt/libexslt/strings.c b/third_party/libxslt/libexslt/strings.c
|
| index f5f2d3c5c3d594416d5c7694e998c71dd46123a4..62f76fb3c067b4fe8144c22b85000c801a233e90 100644
|
| --- a/third_party/libxslt/libexslt/strings.c
|
| +++ b/third_party/libxslt/libexslt/strings.c
|
| @@ -111,11 +111,6 @@ exsltStrTokenizeFunction(xmlXPathParserContextPtr ctxt, int nargs)
|
| xmlAddChild((xmlNodePtr) container, node);
|
| xmlXPathNodeSetAddUnique(ret->nodesetval, node);
|
| }
|
| - /*
|
| - * Mark it as a function result in order to avoid garbage
|
| - * collecting of tree fragments
|
| - */
|
| - xsltExtensionInstructionResultRegister(tctxt, ret);
|
| }
|
| }
|
|
|
| @@ -222,11 +217,6 @@ exsltStrSplitFunction(xmlXPathParserContextPtr ctxt, int nargs) {
|
| xmlAddChild((xmlNodePtr) container, node);
|
| xmlXPathNodeSetAddUnique(ret->nodesetval, node);
|
| }
|
| - /*
|
| - * Mark it as a function result in order to avoid garbage
|
| - * collecting of tree fragments
|
| - */
|
| - xsltExtensionInstructionResultRegister(tctxt, ret);
|
| }
|
| }
|
|
|
| @@ -543,7 +533,6 @@ exsltStrReturnString(xmlXPathParserContextPtr ctxt, const xmlChar *str,
|
| return(-1);
|
| }
|
|
|
| - xsltExtensionInstructionResultRegister(tctxt, ret);
|
| valuePush(ctxt, ret);
|
|
|
| return(0);
|
|
|