diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-08-12 19:09:56 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-08-12 19:09:56 (GMT) |
commit | 4c611d6f41d82603a5d37baf88b0bb213044eb60 (patch) | |
tree | 325a8928761d8daffd845be1b8470a04a243f032 /plugins/pychrysa/arch | |
parent | 287bfee6e805d5c9354c3a9c015ef6c64a0774a5 (diff) |
Improved the python plugin code.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@570 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'plugins/pychrysa/arch')
-rw-r--r-- | plugins/pychrysa/arch/instruction.c | 2 |
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)); |