cpython: c5df914e73ad (original) (raw)
Mercurial > cpython
changeset 100069:c5df914e73ad
Fix a refleak in validate_constant() Issue #26146. [#26146]
Victor Stinner victor.stinner@gmail.com | |
---|---|
date | Wed, 27 Jan 2016 00:11:47 +0100 |
parents | fadc4b53b840 |
children | 04444d0d0a05 |
files | Python/ast.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-)[+] [-] Python/ast.c 2 |
line wrap: on
line diff
--- a/Python/ast.c +++ b/Python/ast.c @@ -164,8 +164,10 @@ validate_constant(PyObject *value) if (!validate_constant(item)) { Py_DECREF(it);
Py_DECREF(item);[](#l1.7) return 0;[](#l1.8) }[](#l1.9)
Py_DECREF(item);[](#l1.10) }[](#l1.11)