diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2023-10-15 01:38:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-15 01:38:40 (GMT) |
commit | b6755d81d45a1d75e3d2485386dabf7bdde66632 (patch) | |
tree | b5c60e1db33e049a6c70e95875934a86f7c42781 /Python/bytecodes.c | |
parent | 744f752f04cd5ad0b18670cd66a82a9b042df0ad (diff) | |
download | cpython-b6755d81d45a1d75e3d2485386dabf7bdde66632.zip cpython-b6755d81d45a1d75e3d2485386dabf7bdde66632.tar.gz cpython-b6755d81d45a1d75e3d2485386dabf7bdde66632.tar.bz2 |
[3.12] gh-109216: Fix possible memory leak in `BUILD_MAP` (#109324)
Diffstat (limited to 'Python/bytecodes.c')
-rw-r--r-- | Python/bytecodes.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Python/bytecodes.c b/Python/bytecodes.c index dfebaaa..e20b9ff 100644 --- a/Python/bytecodes.c +++ b/Python/bytecodes.c @@ -1543,9 +1543,6 @@ dummy_func( values, 2, values+1, 2, oparg); - if (map == NULL) - goto error; - DECREF_INPUTS(); ERROR_IF(map == NULL, error); } |