summaryrefslogtreecommitdiff
path: root/plugins/pychrysa/arch
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysa/arch')
-rw-r--r--plugins/pychrysa/arch/instruction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/pychrysa/arch/instruction.c b/plugins/pychrysa/arch/instruction.c
index d675226..2a06ede 100644
--- a/plugins/pychrysa/arch/instruction.c
+++ b/plugins/pychrysa/arch/instruction.c
@@ -518,7 +518,7 @@ static void py_arch_instruction_iterator_dealloc(PyArchInstructionIter *self)
{
PyObject *first; /* Récupération de la première */
- first = pychrysalide_get_pygobject(G_OBJECT(self->head));
+ first = pygobject_new(G_OBJECT(self->head));
Py_DECREF(first);
g_object_unref(G_OBJECT(self->head));