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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user