[Libguestfs] [PATCH v3 1/2] Revert "python: fix call of Python handlers of events"

Richard W.M. Jones rjones at redhat.com
Fri Feb 17 17:45:49 UTC 2023


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



More information about the Libguestfs mailing list