summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Zlatkovic <igor@src.gnome.org>2003-04-27 16:02:52 +0000
committerIgor Zlatkovic <igor@src.gnome.org>2003-04-27 16:02:52 +0000
commited8737522c0c0a41bc3445a220b4bf95be1dd3f4 (patch)
tree9dc3a5cd77f5b19b0a56dd84af4cfda30a88a155
parentbe5c2c746e6852f5b2375172811bc53fdcf4f0bf (diff)
downloadlibxslt-ed8737522c0c0a41bc3445a220b4bf95be1dd3f4.tar.gz
libxslt-ed8737522c0c0a41bc3445a220b4bf95be1dd3f4.tar.bz2
libxslt-ed8737522c0c0a41bc3445a220b4bf95be1dd3f4.zip
removed premature call to xsltFreeStackElem
-rw-r--r--libxslt/variables.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libxslt/variables.c b/libxslt/variables.c
index ad00d2a0..e82d45a3 100644
--- a/libxslt/variables.c
+++ b/libxslt/variables.c
@@ -807,7 +807,6 @@ xsltProcessUserParamInternal(xsltTransformContextPtr ctxt,
res = xmlHashLookup2(ctxt->globalVars, ncname, href);
if (res != 0) {
- xsltFreeStackElem(elem);
xsltTransformError(ctxt, style, NULL,
"Global parameter %s already defined\n", ncname);
}