[xml] Another PATCH for libxslt/transform.c



Was this a leak?  (Untested.)

Nathan Myers
ncm itasoftware com

--- transform.c 2002/08/04 02:01:26
+++ transform.c 2002/08/13 02:37:40
@@ -2869,10 +2869,10 @@
        }
        xsltProcessOneNode(ctxt, list->nodeTab[i], params);
     }
-    if (params != NULL)
-       xsltFreeStackElemList(params);  /* free the parameter list */
 error:
 
+    if (params != NULL)
+       xsltFreeStackElemList(params);  /* free the parameter list */
     ctxt->nodeList = oldList;
     ctxt->xpathCtxt->contextSize = oldContextSize;
     ctxt->xpathCtxt->proximityPosition = oldProximityPosition;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]