summaryrefslogtreecommitdiff
path: root/gi/pygi-closure.c
diff options
context:
space:
mode:
Diffstat (limited to 'gi/pygi-closure.c')
-rw-r--r--gi/pygi-closure.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gi/pygi-closure.c b/gi/pygi-closure.c
index 8ba8020..0e49c72 100644
--- a/gi/pygi-closure.c
+++ b/gi/pygi-closure.c
@@ -506,6 +506,7 @@ _pygi_closure_handle (ffi_cif *cif,
}
_pygi_closure_set_out_arguments (closure->info, retval, out_args, result);
+ Py_DECREF (retval);
end:
g_free (out_args);