mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
[3.12] gh-109216: Fix possible memory leak in BUILD_MAP
(#109324)
This commit is contained in:
parent
744f752f04
commit
b6755d81d4
3 changed files with 251 additions and 255 deletions
|
@ -0,0 +1,2 @@
|
||||||
|
Fix possible memory leak in :opcode:`BUILD_MAP`.
|
||||||
|
|
|
@ -1543,9 +1543,6 @@ dummy_func(
|
||||||
values, 2,
|
values, 2,
|
||||||
values+1, 2,
|
values+1, 2,
|
||||||
oparg);
|
oparg);
|
||||||
if (map == NULL)
|
|
||||||
goto error;
|
|
||||||
|
|
||||||
DECREF_INPUTS();
|
DECREF_INPUTS();
|
||||||
ERROR_IF(map == NULL, error);
|
ERROR_IF(map == NULL, error);
|
||||||
}
|
}
|
||||||
|
|
501
Python/generated_cases.c.h
generated
501
Python/generated_cases.c.h
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue