summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2003-01-17 16:45:00 +0000
committerDaniel Veillard <veillard@src.gnome.org>2003-01-17 16:45:00 +0000
commit4cf238e5338a7ee7d2903374af1f9831e5b54cdb (patch)
tree9b793f3b90d8553f031f99627f85be3895b8fe3d
parentaaf8d3ad675ca03a3c77fd2c0e513ded01c4aa92 (diff)
downloadlibxslt-4cf238e5338a7ee7d2903374af1f9831e5b54cdb.tar.gz
libxslt-4cf238e5338a7ee7d2903374af1f9831e5b54cdb.tar.bz2
libxslt-4cf238e5338a7ee7d2903374af1f9831e5b54cdb.zip
fixed a double free of stylesheet when applied to a standalone stylesheet
* xsltproc/xsltproc.c: fixed a double free of stylesheet when applied to a standalone stylesheet Daniel
-rw-r--r--ChangeLog5
-rw-r--r--xsltproc/xsltproc.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d8f1726a..92739a1e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Jan 17 17:43:43 CET 2003 Daniel Veillard <daniel@veillard.com>
+
+ * xsltproc/xsltproc.c: fixed a double free of stylesheet
+ when applied to a standalone stylesheet
+
Tue Jan 14 16:22:48 CET 2003 Daniel Veillard <daniel@veillard.com>
* configure.in: preparing release 2.0.24
diff --git a/xsltproc/xsltproc.c b/xsltproc/xsltproc.c
index 36b846ae..f158524e 100644
--- a/xsltproc/xsltproc.c
+++ b/xsltproc/xsltproc.c
@@ -765,6 +765,7 @@ main(int argc, char **argv)
/* it is an embedded stylesheet */
xsltProcess(style, cur, argv[i]);
xsltFreeStylesheet(cur);
+ cur = NULL;
goto done;
}
cur = xsltParseStylesheetDoc(style);