diff options
author | Barry Warsaw <barry@python.org> | 2000-12-11 20:01:55 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2000-12-11 20:01:55 (GMT) |
commit | 0705028076810327e58747fd93a82a5f09d1c33c (patch) | |
tree | 245502526d3b45fc630b39a1911c5c4a1784e964 /Python/getargs.c | |
parent | 7c1e5adf27ba6ee1d041f28df60242ca2dd9b5ff (diff) | |
download | cpython-0705028076810327e58747fd93a82a5f09d1c33c.zip cpython-0705028076810327e58747fd93a82a5f09d1c33c.tar.gz cpython-0705028076810327e58747fd93a82a5f09d1c33c.tar.bz2 |
vgetargskeywords(): Patch for memory leak identified in bug #119862.
Diffstat (limited to 'Python/getargs.c')
-rw-r--r-- | Python/getargs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/getargs.c b/Python/getargs.c index b947a0c..cf1c6b7 100644 --- a/Python/getargs.c +++ b/Python/getargs.c @@ -1123,6 +1123,7 @@ vgetargskeywords(PyObject *args, PyObject *keywords, char *format, return 0; } converted++; + Py_DECREF(item); } else { PyErr_Clear(); |