Fixed refleak in _testcapi.test_s_code.

This commit is contained in:
Alexandre Vassalotti 2008-05-15 22:06:59 +00:00
parent 2402e93c41
commit b645bc7b77
1 changed files with 1 additions and 0 deletions

View File

@ -504,6 +504,7 @@ test_s_code(PyObject *self)
if (PyArg_ParseTuple(tuple, "z:test_s_code2", &value) < 0)
return NULL;
Py_DECREF(tuple);
Py_RETURN_NONE;
}