From 66fb2745189037ba634cc3574f174f26e53a9be6 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 31 Jan 2007 13:27:16 +0000 Subject: [PATCH] Fix a leak of references to Py_None in slightly pathological cases (should never be a problem in practice, but correctness is good) --- _dbus_bindings/pending-call.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_dbus_bindings/pending-call.c b/_dbus_bindings/pending-call.c index 10fa97a..73071c3 100644 --- a/_dbus_bindings/pending-call.c +++ b/_dbus_bindings/pending-call.c @@ -117,8 +117,8 @@ _pending_call_notify_function(DBusPendingCall *pc, * except possibly making it fatal (FIXME?) */ } - Py_XDECREF(handler); release: + Py_XDECREF(handler); PyGILState_Release(gil); } -- 2.11.4.GIT