commit | b645bc7b775b85e3520a561413905a7a1c4ae11c | [log] [tgz] |
---|---|---|
author | Alexandre Vassalotti <alexandre@peadrop.com> | Thu May 15 22:06:59 2008 +0000 |
committer | Alexandre Vassalotti <alexandre@peadrop.com> | Thu May 15 22:06:59 2008 +0000 |
tree | 751e3cac935620a693ca38f6c73ea31b1acb201d | |
parent | 2402e93c41173c357b5b19349cfa5753e89248a9 [diff] |
Fixed refleak in _testcapi.test_s_code.
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index 2e68a66..7c28538 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c
@@ -504,6 +504,7 @@ if (PyArg_ParseTuple(tuple, "z:test_s_code2", &value) < 0) return NULL; + Py_DECREF(tuple); Py_RETURN_NONE; }