We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f681e93 commit f3fe21aCopy full SHA for f3fe21a
1 file changed
Modules/nismodule.c
@@ -405,6 +405,7 @@ nis_maps (PyObject *self, PyObject *args, PyObject *kwdict)
405
PyObject *str = PyString_FromString(maps->map);
406
if (!str || PyList_Append(list, str) < 0)
407
{
408
+ Py_XDECREF(str);
409
Py_DECREF(list);
410
list = NULL;
411
break;
0 commit comments