Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0705028

Browse files
committed
vgetargskeywords(): Patch for memory leak identified in bug #119862.
1 parent 7c1e5ad commit 0705028

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Python/getargs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1123,6 +1123,7 @@ vgetargskeywords(PyObject *args, PyObject *keywords, char *format,
11231123
return 0;
11241124
}
11251125
converted++;
1126+
Py_DECREF(item);
11261127
}
11271128
else {
11281129
PyErr_Clear();

0 commit comments

Comments
 (0)