diff --git a/Modules/_winapi.c b/Modules/_winapi.c index 76f18c71a0713d..ac3ee113ffda71 100644 --- a/Modules/_winapi.c +++ b/Modules/_winapi.c @@ -946,7 +946,7 @@ getenvironment(PyObject* environment) } normalized_environment = normalize_environment(environment); - if (normalize_environment == NULL) { + if (normalized_environment == NULL) { return NULL; }