python: Fix typo in bindings

This typo caused a bug in which we wanted to free() invalid pointer.
This commit is contained in:
Michal Privoznik
2011-05-23 13:48:19 +02:00
parent d7b2679253
commit 6bae93d33b
+1 -1
View File
@@ -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);