Fix refleak

This commit is contained in:
Neal Norwitz 2006-10-29 23:42:59 +00:00
parent 5e9f94ac7a
commit ae6b84184b
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ set_key_error(PyObject *arg)
if (!tup)
return; /* caller will expect error to be set anyway */
PyErr_SetObject(PyExc_KeyError, tup);
Py_DECREF(tup);
}
/* Define this out if you don't want conversion statistics on exit. */