summaryrefslogtreecommitdiffstats
path: root/libvirt-override.c
diff options
context:
space:
mode:
authorMichal Privoznik <mprivozn@redhat.com>2011-05-23 10:51:46 +0200
committerMichal Privoznik <mprivozn@redhat.com>2011-05-23 13:48:19 +0200
commit080c8ac14aecdba2b125eddd94d75c2f95ecf831 (patch)
tree442465cc122c26fa2e9b386826241dfc52cafe50 /libvirt-override.c
parentee57a3c7cfa1d2f0b892670a7fe5a6b0887c61ae (diff)
downloadlibvirt-python-split-080c8ac14aecdba2b125eddd94d75c2f95ecf831.tar.gz
libvirt-python-split-080c8ac14aecdba2b125eddd94d75c2f95ecf831.tar.xz
libvirt-python-split-080c8ac14aecdba2b125eddd94d75c2f95ecf831.zip
python: Fix typo in bindings
This typo caused a bug in which we wanted to free() invalid pointer.
Diffstat (limited to 'libvirt-override.c')
-rw-r--r--libvirt-override.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvirt-override.c b/libvirt-override.c
index 11e1d0c..a151e78 100644
--- a/libvirt-override.c
+++ b/libvirt-override.c
@@ -2945,7 +2945,7 @@ libvirt_virEventRegisterImpl(ATTRIBUTE_UNUSED PyObject * self,
return VIR_PY_INT_FAIL;
/* Get argument string representations (for error reporting) */
- addHandleName = py_str(addTimeoutObj);
+ addHandleName = py_str(addHandleObj);
updateHandleName = py_str(updateHandleObj);
removeHandleName = py_str(removeHandleObj);
addTimeoutName = py_str(addTimeoutObj);