1
0
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:
Daniel Veillard
2003-01-17 16:45:00 +00:00
parent aaf8d3ad67
commit 4cf238e533
2 changed files with 6 additions and 0 deletions

View File

@@ -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);