1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-08-01 14:06:55 +03:00

fixed bug #60624 improver the error context reporting added a specific

* libxslt/xslt.c: fixed bug #60624
* libxslt/xsltutils.c: improver the error context reporting
* tests/reports/Makefile.am tests/reports/tst-2.*: added a
  specific regression test
* xsltproc/xsltproc: free the stylesheet if it contained an error.
Daniel
This commit is contained in:
Daniel Veillard
2001-09-18 09:56:57 +00:00
parent 2db3204c7d
commit eb5f21553c
9 changed files with 50 additions and 4 deletions

View File

@ -618,8 +618,9 @@ main(int argc, char **argv)
}
xsltProcess(doc, cur, argv[i]);
}
xsltFreeStylesheet(cur);
}
if (cur != NULL)
xsltFreeStylesheet(cur);
done:
xsltCleanupGlobals();
xmlCleanupParser();