From 080c8ac14aecdba2b125eddd94d75c2f95ecf831 Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Mon, 23 May 2011 10:51:46 +0200 Subject: python: Fix typo in bindings This typo caused a bug in which we wanted to free() invalid pointer. --- libvirt-override.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libvirt-override.c') 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); -- cgit