1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-07-09 03:41:46 +03:00

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
This commit is contained in:
Daniel Veillard
2003-01-22 15:47:10 +00:00
parent 4cf238e533
commit 6139969721
2 changed files with 7 additions and 2 deletions

View File

@ -467,7 +467,7 @@ libxslt_xsltPythonExtModuleStyleShutdown(xsltStylesheetPtr style,
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 @@ libxslt_xsltPythonExtModuleCtxtShutdown(xsltTransformContextPtr ctxt,
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")) {