diff options
author | Michal Privoznik <mprivozn@redhat.com> | 2011-05-23 10:51:46 +0200 |
---|---|---|
committer | Michal Privoznik <mprivozn@redhat.com> | 2011-05-23 13:48:19 +0200 |
commit | 080c8ac14aecdba2b125eddd94d75c2f95ecf831 (patch) | |
tree | 442465cc122c26fa2e9b386826241dfc52cafe50 /libvirt-override.c | |
parent | ee57a3c7cfa1d2f0b892670a7fe5a6b0887c61ae (diff) | |
download | libvirt-python-v6-080c8ac14aecdba2b125eddd94d75c2f95ecf831.tar.gz libvirt-python-v6-080c8ac14aecdba2b125eddd94d75c2f95ecf831.tar.xz libvirt-python-v6-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.c | 2 |
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); |