fix Widestring vs. Ansi mixup

(cherry picked from commit 4dcb4a41022085aa82f25f7e0a2ce9e92510f4ae)
This commit is contained in:
Oswald Buddenhagen 2011-05-02 15:40:13 +02:00 committed by Olivier Goffart
parent 575410f466
commit 8bc9f1ca62

View File

@ -294,7 +294,7 @@ QProcessEnvironment QProcessEnvironment::systemEnvironment()
} }
entry += entryLen + 1; entry += entryLen + 1;
} }
FreeEnvironmentStrings(envStrings); FreeEnvironmentStringsW(envStrings);
} }
return env; return env;
} }