summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/arch/register.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysalide/arch/register.c')
-rw-r--r--plugins/pychrysalide/arch/register.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/pychrysalide/arch/register.c b/plugins/pychrysalide/arch/register.c
index 2a407b5..61da77f 100644
--- a/plugins/pychrysalide/arch/register.c
+++ b/plugins/pychrysalide/arch/register.c
@@ -236,6 +236,8 @@ static guint py_arch_register___hash___wrapper(const GArchRegister *reg)
}
+ Py_DECREF(pyobj);
+
PyGILState_Release(gstate);
return result;
@@ -302,6 +304,8 @@ static int py_arch_register___cmp___wrapper(const GArchRegister *a, const GArchR
}
+ Py_DECREF(pyobj);
+
PyGILState_Release(gstate);
return result;
@@ -354,6 +358,8 @@ static void py_arch_register_print_wrapper(const GArchRegister *reg, GBufferLine
}
+ Py_DECREF(pyobj);
+
PyGILState_Release(gstate);
}
@@ -406,6 +412,8 @@ static bool py_arch_register_is_base_pointer_wrapper(const GArchRegister *reg)
}
+ Py_DECREF(pyobj);
+
PyGILState_Release(gstate);
return result;
@@ -460,6 +468,8 @@ static bool py_arch_register_is_stack_pointer_wrapper(const GArchRegister *reg)
}
+ Py_DECREF(pyobj);
+
PyGILState_Release(gstate);
return result;