# HG changeset patch # User Daniel Veillard <veillard@src.gnome.org> # Date 1043250430 0 # Wed Jan 22 15:47:10 2003 +0000 # Node ID 4f2fa348a06f81a73b4b5617f099509278ad61d7 # Parent 8aa690dda85df20cfe8abc119d8cdf8b9e313747 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 diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +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 diff --git a/python/libxslt.c b/python/libxslt.c --- a/python/libxslt.c +++ b/python/libxslt.c @@ -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")) {