diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2003-01-17 16:45:00 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2003-01-17 16:45:00 +0000 |
commit | 4cf238e5338a7ee7d2903374af1f9831e5b54cdb (patch) | |
tree | 9b793f3b90d8553f031f99627f85be3895b8fe3d | |
parent | aaf8d3ad675ca03a3c77fd2c0e513ded01c4aa92 (diff) | |
download | libxslt-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-- | ChangeLog | 5 | ||||
-rw-r--r-- | xsltproc/xsltproc.c | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -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); |