Commit ef786ae1 authored by Neal Norwitz's avatar Neal Norwitz

Add missing decref

parent b492fa91
......@@ -981,6 +981,7 @@ dict_fromkeys(PyObject *mp, PyObject *args)
return NULL;
if (!PyDict_Check(d)) {
PyErr_BadInternalCall();
Py_DECREF(d);
return NULL;
}
......
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