diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-03-16 18:25:58 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-03-16 18:25:58 (GMT) |
commit | 01feaecbfa37ad85b8ae51c8c7743e1ce8d5a92f (patch) | |
tree | 5693cd81270df05cc1bfc8f190586a16dd5a8124 /Python/getargs.c | |
parent | 57b2959d265426e40e08ff0a901855353b75d9fd (diff) | |
download | cpython-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.c | 2 |
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 */ |