summaryrefslogtreecommitdiffstats
path: root/python/xml/py_xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'python/xml/py_xml.c')
-rw-r--r--python/xml/py_xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/xml/py_xml.c b/python/xml/py_xml.c
index bf5aa97f..814c2304 100644
--- a/python/xml/py_xml.c
+++ b/python/xml/py_xml.c
@@ -144,7 +144,7 @@ PyObject *node_export_to_soap(PyObject *self, PyObject *args) {
PyObject *node_get_attr_value(PyObject *self, PyObject *args) {
PyObject *node_obj;
const xmlChar *name;
- xmlChar *ret;
+ xmlChar *ret = NULL;
if (CheckArgs(args, "OS:node_get_attr_value")) {
if(!PyArg_ParseTuple(args, (char *) "Os:node_get_attr_value",