From 6bae93d33b736bbfd38ff73abd603683e2c46485 Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Mon, 23 May 2011 10:51:46 +0200 Subject: [PATCH] python: Fix typo in bindings This typo caused a bug in which we wanted to free() invalid pointer. --- python/libvirt-override.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/libvirt-override.c b/python/libvirt-override.c index 11e1d0c03e..a151e78b7b 100644 --- a/python/libvirt-override.c +++ b/python/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); -- GitLab