mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-08-07 10:42:55 +03:00
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
This commit is contained in:
@@ -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>
|
Tue Jan 14 16:22:48 CET 2003 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* configure.in: preparing release 2.0.24
|
* configure.in: preparing release 2.0.24
|
||||||
|
@@ -765,6 +765,7 @@ main(int argc, char **argv)
|
|||||||
/* it is an embedded stylesheet */
|
/* it is an embedded stylesheet */
|
||||||
xsltProcess(style, cur, argv[i]);
|
xsltProcess(style, cur, argv[i]);
|
||||||
xsltFreeStylesheet(cur);
|
xsltFreeStylesheet(cur);
|
||||||
|
cur = NULL;
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
cur = xsltParseStylesheetDoc(style);
|
cur = xsltParseStylesheetDoc(style);
|
||||||
|
Reference in New Issue
Block a user