summaryrefslogtreecommitdiff
path: root/plugins/pychrysa/gui/panels
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2014-01-02 00:57:00 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2014-01-02 00:57:00 (GMT)
commitb79c07f827f487e380392ae70bf23f50805236d4 (patch)
tree10da9b00de1c4f300f34c0f7184342bc1e3bc98d /plugins/pychrysa/gui/panels
parent96fc5ec3edf4b2391be52c3932d5ad5553b93186 (diff)
Fixed major issues with wrong Python refcounting.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@364 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'plugins/pychrysa/gui/panels')
-rw-r--r--plugins/pychrysa/gui/panels/panel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/pychrysa/gui/panels/panel.c b/plugins/pychrysa/gui/panels/panel.c
index fc261b5..7aa5fa7 100644
--- a/plugins/pychrysa/gui/panels/panel.c
+++ b/plugins/pychrysa/gui/panels/panel.c
@@ -101,6 +101,7 @@ PyObject *_py_panel_item_from_c(GPanelItem *item, PyTypeObject *type)
module = PyImport_ImportModule("pychrysalide.gui.panels");
type = (PyTypeObject *)PyObject_GetAttrString(module, "PanelItem");
Py_DECREF(module);
+ /* FIXME : type refcount ? */
}
else Py_INCREF(type);