gh-109216: Fix possible memory leak in BUILD_MAP (#109257)

This commit is contained in:
Nikita Sobolev 2023-09-12 12:37:22 +03:00 committed by GitHub
parent 1110c5bc82
commit 247ee1bf84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 1 additions and 9 deletions

View file

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