mirror of https://gitee.com/openkylin/libvirt.git
python: Fix typo in bindings
This typo caused a bug in which we wanted to free() invalid pointer.
This commit is contained in:
parent
d7b2679253
commit
6bae93d33b
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue