diff --git a/ChangeLog b/ChangeLog index 92739a1e..740b26ec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Jan 22 16:43:49 CET 2003 Daniel Veillard + + * 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 * xsltproc/xsltproc.c: fixed a double free of stylesheet diff --git a/python/libxslt.c b/python/libxslt.c index daec2982..e9bd1485 100644 --- a/python/libxslt.c +++ b/python/libxslt.c @@ -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")) {