Skip to content
Snippets Groups Projects
Commit 4f2fa348a06f authored by Daniel Veillard's avatar Daniel Veillard
Browse files

fixed a couple of return error #104150 reported by Peter O'Shea Daniel

* python/libxslt.c: fixed a couple of return error #104150
  reported by Peter O'Shea
Daniel
parent 8aa690dda85d
Branches
No related tags found
No related merge requests found
Wed Jan 22 16:43:49 CET 2003 Daniel Veillard <daniel@veillard.com>
* python/libxslt.c: fixed a couple of return error #104150
reported by Peter O'Shea
Fri Jan 17 17:43:43 CET 2003 Daniel Veillard <daniel@veillard.com>
* xsltproc/xsltproc.c: fixed a double free of stylesheet
......
......@@ -467,7 +467,7 @@
class = xmlHashLookup(libxslt_extModuleClasses, URI);
if (class == NULL) {
fprintf(stderr, "libxslt_xsltPythonExtModuleStyleShutdown: internal error %s not found !\n", URI);
return(NULL);
return;
}
if (PyObject_HasAttrString(class, (char *) "_styleShutdown")) {
......@@ -529,7 +529,7 @@
class = xmlHashLookup(libxslt_extModuleClasses, URI);
if (class == NULL) {
fprintf(stderr, "libxslt_xsltPythonExtModuleCtxtShutdown: internal error %s not found !\n", URI);
return(NULL);
return;
}
if (PyObject_HasAttrString(class, (char *) "_ctxtShutdown")) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment