gh-128217: Validate the normalized_environment variable instead of the similarly named function (GH-128220)

(cherry picked from commit 3ddd70ceaa)

Co-authored-by: Sergey Muraviov <smurav@mail.ru>
This commit is contained in:
Miss Islington (bot) 2024-12-24 14:29:56 +01:00 committed by GitHub
parent 6f3c2c8d04
commit 40c46f08e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1048,7 +1048,7 @@ getenvironment(PyObject* environment)
}
normalized_environment = normalize_environment(environment);
if (normalize_environment == NULL) {
if (normalized_environment == NULL) {
return NULL;
}