summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysalide')
-rw-r--r--plugins/pychrysalide/analysis/routine.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/pychrysalide/analysis/routine.c b/plugins/pychrysalide/analysis/routine.c
index e57b919..1f245ae 100644
--- a/plugins/pychrysalide/analysis/routine.c
+++ b/plugins/pychrysalide/analysis/routine.c
@@ -543,6 +543,8 @@ static PyObject *py_binary_routine_get_basic_blocks(PyObject *self, void *closur
result = pygobject_new(G_OBJECT(blocks));
+ g_object_unref(G_OBJECT(blocks));
+
return result;
}