[3.12] gh-109216: Fix possible memory leak in BUILD_MAP (#109324)

This commit is contained in:
Nikita Sobolev 2023-10-15 04:38:40 +03:00 committed by GitHub
parent 744f752f04
commit b6755d81d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 251 additions and 255 deletions

View file

@ -1543,9 +1543,6 @@ dummy_func(
values, 2,
values+1, 2,
oparg);
if (map == NULL)
goto error;
DECREF_INPUTS();
ERROR_IF(map == NULL, error);
}