diff options
author | Martin Pitt <martinpitt@gnome.org> | 2012-12-18 11:43:04 +0100 |
---|---|---|
committer | Martin Pitt <martinpitt@gnome.org> | 2012-12-18 11:43:04 +0100 |
commit | c29e11812d176b1f057074c9bab22c9614ae4f8c (patch) | |
tree | 83ceeade886cab764def9a21bf91eb6f045dadda /tests/testhelpermodule.c | |
parent | ff0d9106bcd02a6b2c67cc3722481218c599a9f4 (diff) | |
download | pygobject-c29e11812d176b1f057074c9bab22c9614ae4f8c.tar.gz |
testhelpermodule.c: Do not unref called method
In _wrap_test_gerror_exception(), do not unref the method arguments. This
causes a crash when being run with the stricter refcounting/memory checks with
debug-enabled Python builds.
Diffstat (limited to 'tests/testhelpermodule.c')
-rw-r--r-- | tests/testhelpermodule.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/testhelpermodule.c b/tests/testhelpermodule.c index 16bb39e9..d82a3c22 100644 --- a/tests/testhelpermodule.c +++ b/tests/testhelpermodule.c @@ -530,7 +530,6 @@ _wrap_test_gerror_exception(PyObject *self, PyObject *args) return NULL; } - Py_DECREF(py_method); Py_DECREF(py_args); Py_DECREF(py_ret); |