# HG changeset patch # User Daniel Veillard <veillard@src.gnome.org> # Date 1042821900 0 # Fri Jan 17 16:45:00 2003 +0000 # Node ID 8aa690dda85df20cfe8abc119d8cdf8b9e313747 # Parent 7e2bc686c170cecb68c4b76a2c3e12c1577b72e0 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 diff --git a/ChangeLog b/ChangeLog --- 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 --- a/xsltproc/xsltproc.c +++ b/xsltproc/xsltproc.c @@ -765,6 +765,7 @@ /* it is an embedded stylesheet */ xsltProcess(style, cur, argv[i]); xsltFreeStylesheet(cur); + cur = NULL; goto done; } cur = xsltParseStylesheetDoc(style);