diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2023-09-12 12:37:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-12 15:07:22 +0530 |
commit | 247ee1bf841524667f883ebba5e343101f609026 (patch) | |
tree | 087271b34ed19994cc2098964f0f99533e1ed016 /Python/executor_cases.c.h | |
parent | 1110c5bc828218086f6397ec05a9312fb73ea30a (diff) | |
download | cpython-247ee1bf841524667f883ebba5e343101f609026.tar.gz cpython-247ee1bf841524667f883ebba5e343101f609026.zip |
gh-109216: Fix possible memory leak in `BUILD_MAP` (#109257)
Diffstat (limited to 'Python/executor_cases.c.h')
-rw-r--r-- | Python/executor_cases.c.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Python/executor_cases.c.h b/Python/executor_cases.c.h index a4d813056aa..8f3febe7d1a 100644 --- a/Python/executor_cases.c.h +++ b/Python/executor_cases.c.h @@ -1433,9 +1433,6 @@ values, 2, values+1, 2, oparg); - if (map == NULL) - goto error; - for (int _i = oparg*2; --_i >= 0;) { Py_DECREF(values[_i]); } |