mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-07-29 15:41:13 +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:
@ -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
|
||||
|
@ -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")) {
|
||||
|
Reference in New Issue
Block a user