diff --git a/bindings/python/wrapper_top.c b/bindings/python/wrapper_top.c index b24f4b2b..f658a266 100644 --- a/bindings/python/wrapper_top.c +++ b/bindings/python/wrapper_top.c @@ -511,7 +511,7 @@ get_list_of_xml_nodes(const GList *a_list) { failure: PyErr_SetString(PyExc_TypeError, "Allocation problem in get_list_of_strings"); Py_XDECREF(a_tuple); - return noneRef(); + return NULL; } static PyObject *