fix Widestring vs. Ansi mixup
(cherry picked from commit 4dcb4a41022085aa82f25f7e0a2ce9e92510f4ae)
This commit is contained in:
parent
575410f466
commit
8bc9f1ca62
@ -294,7 +294,7 @@ QProcessEnvironment QProcessEnvironment::systemEnvironment()
|
||||
}
|
||||
entry += entryLen + 1;
|
||||
}
|
||||
FreeEnvironmentStrings(envStrings);
|
||||
FreeEnvironmentStringsW(envStrings);
|
||||
}
|
||||
return env;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user