Kaydet (Commit) ae6b8418 authored tarafından Neal Norwitz's avatar Neal Norwitz

Fix refleak

üst 5e9f94ac
...@@ -23,6 +23,7 @@ set_key_error(PyObject *arg) ...@@ -23,6 +23,7 @@ set_key_error(PyObject *arg)
if (!tup) if (!tup)
return; /* caller will expect error to be set anyway */ return; /* caller will expect error to be set anyway */
PyErr_SetObject(PyExc_KeyError, tup); PyErr_SetObject(PyExc_KeyError, tup);
Py_DECREF(tup);
} }
/* Define this out if you don't want conversion statistics on exit. */ /* Define this out if you don't want conversion statistics on exit. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment