summaryrefslogtreecommitdiffstats
path: root/Python/getargs.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-03-16 18:25:58 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-03-16 18:25:58 (GMT)
commit01feaecbfa37ad85b8ae51c8c7743e1ce8d5a92f (patch)
tree5693cd81270df05cc1bfc8f190586a16dd5a8124 /Python/getargs.c
parent57b2959d265426e40e08ff0a901855353b75d9fd (diff)
downloadcpython-01feaecbfa37ad85b8ae51c8c7743e1ce8d5a92f.zip
cpython-01feaecbfa37ad85b8ae51c8c7743e1ce8d5a92f.tar.gz
cpython-01feaecbfa37ad85b8ae51c8c7743e1ce8d5a92f.tar.bz2
plug memory leak (closes #14325)
Diffstat (limited to 'Python/getargs.c')
-rw-r--r--Python/getargs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/getargs.c b/Python/getargs.c
index 38eec17..38c9dde 100644
--- a/Python/getargs.c
+++ b/Python/getargs.c
@@ -1445,7 +1445,7 @@ vgetargskeywords(PyObject *args, PyObject *keywords, const char *format,
len,
(len == 1) ? "" : "s",
nargs + nkeywords);
- return 0;
+ return cleanreturn(0, &freelist);
}
/* convert tuple args and keyword args in same loop, using kwlist to drive process */