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

Skip to content

Commit 01feaec

Browse files
committed
plug memory leak (closes #14325)
1 parent 57b2959 commit 01feaec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/getargs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1445,7 +1445,7 @@ vgetargskeywords(PyObject *args, PyObject *keywords, const char *format,
14451445
len,
14461446
(len == 1) ? "" : "s",
14471447
nargs + nkeywords);
1448-
return 0;
1448+
return cleanreturn(0, &freelist);
14491449
}
14501450

14511451
/* convert tuple args and keyword args in same loop, using kwlist to drive process */

0 commit comments

Comments
 (0)