From: William M. Brack Date: Sat, 25 Nov 2006 03:48:02 +0000 (+0000) Subject: fixed problem with cached RVT's, bug #378766 X-Git-Tag: v1.1.28~213 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=15d8d5b7d0b424acf19548d126c86fffb5d86c7e;p=platform%2Fupstream%2Flibxslt.git fixed problem with cached RVT's, bug #378766 * libxslt/variables.c: fixed problem with cached RVT's, bug #378766 --- diff --git a/ChangeLog b/ChangeLog index 0d4ff51..4781835 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Nov 25 11:48:28 HKT 2006 William Brack + + * libxslt/variables.c: fixed problem with cached RVT's, + bug #378766 + Thu Nov 23 17:49:31 CET 2006 Daniel Veillard * libxslt/transform.c: applied patch from Mike Hommey about saving diff --git a/libxslt/variables.c b/libxslt/variables.c index 064d91d..b9c966f 100644 --- a/libxslt/variables.c +++ b/libxslt/variables.c @@ -75,7 +75,9 @@ xsltCreateRVT(xsltTransformContextPtr ctxt) if (ctxt->cache->RVT) { container = ctxt->cache->RVT; ctxt->cache->RVT = (xmlDocPtr) container->next; + /* clear the internal pointers */ container->next = NULL; + container->prev = NULL; if (ctxt->cache->nbRVT > 0) ctxt->cache->nbRVT--; #ifdef XSLT_DEBUG_PROFILE_CACHE