Thanks to visit codestin.com Credit goes to github.com
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 f988e68 commit 2133287Copy full SHA for 2133287
1 file changed
Python/bltinmodule.c
@@ -903,6 +903,7 @@ builtin_map(self, args)
903
if (i >= len) {
904
if (PyList_Append(result, value) < 0)
905
goto Fail_1;
906
+ Py_DECREF(value);
907
}
908
else {
909
if (PyList_SetItem(result, i, value) < 0)
0 commit comments