diff options
author | William M. Brack <wbrack@src.gnome.org> | 2006-11-25 03:48:02 +0000 |
---|---|---|
committer | William M. Brack <wbrack@src.gnome.org> | 2006-11-25 03:48:02 +0000 |
commit | 15d8d5b7d0b424acf19548d126c86fffb5d86c7e (patch) | |
tree | b9ff1340d363bcd712ded672ec0561fe7aeeaee5 | |
parent | 53064a5e620ea475d5c6beb63d5b5d8dec1a0f20 (diff) | |
download | libxslt-15d8d5b7d0b424acf19548d126c86fffb5d86c7e.tar.gz libxslt-15d8d5b7d0b424acf19548d126c86fffb5d86c7e.tar.bz2 libxslt-15d8d5b7d0b424acf19548d126c86fffb5d86c7e.zip |
fixed problem with cached RVT's, bug #378766
* libxslt/variables.c: fixed problem with cached RVT's,
bug #378766
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | libxslt/variables.c | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Sat Nov 25 11:48:28 HKT 2006 William Brack <wbrack@mmm.com.hk> + + * libxslt/variables.c: fixed problem with cached RVT's, + bug #378766 + Thu Nov 23 17:49:31 CET 2006 Daniel Veillard <daniel@veillard.com> * libxslt/transform.c: applied patch from Mike Hommey about saving diff --git a/libxslt/variables.c b/libxslt/variables.c index 064d91d1..b9c966f4 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 |