summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/ceval.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 5ceb743..b119e15 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -2298,6 +2298,8 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
u = POP(); /* kw only arg name */
/* XXX(nnorwitz): check for errors */
PyDict_SetItem(v, u, w);
+ Py_DECREF(w);
+ Py_DECREF(u);
}
err = PyFunction_SetKwDefaults(x, v);
Py_DECREF(v);