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 /xsltproc | |
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
Diffstat (limited to 'xsltproc')
-rw-r--r-- | xsltproc/xsltproc.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |