From 4cf238e5338a7ee7d2903374af1f9831e5b54cdb Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Fri, 17 Jan 2003 16:45:00 +0000 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ xsltproc/xsltproc.c | 1 + 2 files changed, 6 insertions(+) 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 + + * 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 * 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);