tried to fix a problem in xsltProcessUserParamInternal reported by Babak
authorDaniel Veillard <veillard@src.gnome.org>
Sun, 28 Apr 2002 15:47:41 +0000 (15:47 +0000)
committerDaniel Veillard <veillard@src.gnome.org>
Sun, 28 Apr 2002 15:47:41 +0000 (15:47 +0000)
* libxslt/variables.c: tried to fix a problem in
  xsltProcessUserParamInternal reported by Babak Vahedipour-Kunze
Daniel

ChangeLog
libxslt/variables.c

index 0f0a33f..3788dbd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sun Apr 28 17:47:17 CEST 2002 Daniel Veillard <daniel@veillard.com>
+
+       * libxslt/variables.c: tried to fix a problem in
+         xsltProcessUserParamInternal reported by Babak Vahedipour-Kunze
+
 Fri Apr 26 08:15:30 CEST 2002 Daniel Veillard <daniel@veillard.com>
 
        * libexslt/date.c: applied another patch from Charles Bozeman to
index e81e5fc..23c1919 100644 (file)
@@ -767,10 +767,12 @@ xsltProcessUserParamInternal(xsltTransformContextPtr ctxt,
                href = ns->href;
            }
            xmlFree(prefix);
+           prefix = NULL;
        } else {
            href = NULL;
        }
        xmlFree(ncname);
+       ncname = NULL;
     } else {
        href = NULL;
        ncname = xmlStrdup(name);