This reverts commit 85235aec837716f1ddb2926b9a59a02543195500.
---
 python/handle.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/python/handle.c b/python/handle.c
index bf639b5789..8eeabe60a7 100644
--- a/python/handle.c
+++ b/python/handle.c
@@ -139,7 +139,6 @@ guestfs_int_py_event_callback_wrapper (guestfs_h *g,
     goto out;
   }
 
-  Py_INCREF (args);
   py_r = PyObject_CallObject (py_callback, args);
   Py_DECREF (args);
   if (py_r != NULL)
-- 
2.39.0

_______________________________________________
Libguestfs mailing list
Libguestfs@redhat.com
https://listman.redhat.com/mailman/listinfo/libguestfs

Reply via email to