summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/glibext
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-05-28 22:25:26 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-05-28 22:25:26 (GMT)
commit2700e6892a0c0d78baf7228040aa07a1e21c6f53 (patch)
treec8c74971b53ec4333c7c7eef2b6e102a33f57fe5 /plugins/pychrysalide/glibext
parent614b0d9febfffc8c8ee6c554d5132b9ecd9bff78 (diff)
Adapted the API for renamed operands.
Diffstat (limited to 'plugins/pychrysalide/glibext')
-rw-r--r--plugins/pychrysalide/glibext/linegen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/pychrysalide/glibext/linegen.c b/plugins/pychrysalide/glibext/linegen.c
index 4d6d60d..9001b71 100644
--- a/plugins/pychrysalide/glibext/linegen.c
+++ b/plugins/pychrysalide/glibext/linegen.c
@@ -465,10 +465,10 @@ static void py_line_generator_print_wrapper(GLineGenerator *generator, GBufferLi
pyret = run_python_method(pyobj, "_print", args);
- Py_DECREF(args);
-
Py_XDECREF(pyret);
+ Py_DECREF(args);
+
}
PyGILState_Release(gstate);