commit | 93b7d7e4b9c4115494132bbe82ca9851813e81d7 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Jun 24 13:54:51 2012 +0200 |
committer | Georg Brandl <georg@python.org> | Sun Jun 24 13:54:51 2012 +0200 |
tree | fcf3b489b76f5584e908d0cf97504856b744f3c2 | |
parent | 6cea65555caf2716b4633827715004ab0291a282 [diff] [blame] |
Fix a refleak in c82451eeb595.
diff --git a/Modules/operator.c b/Modules/operator.c index c38ec16..25b0737 100644 --- a/Modules/operator.c +++ b/Modules/operator.c
@@ -292,9 +292,7 @@ PyBuffer_Release(&view_b); } - result = PyBool_FromLong(rc); - Py_INCREF(result); - return result; + return PyBool_FromLong(rc); } /* operator methods **********************************************************/