mirror of
https://github.com/reactos/wine.git
synced 2025-01-26 05:54:34 +00:00
userenv: GetUserProfileDirectoryW: Plug memory leak.
This commit is contained in:
parent
75cc509dae
commit
fa7c08820b
@ -187,6 +187,7 @@ BOOL WINAPI GetUserProfileDirectoryW( HANDLE hToken, LPWSTR lpProfileDir,
|
||||
ret = TRUE;
|
||||
|
||||
done:
|
||||
HeapFree( GetProcessHeap(), 0, t );
|
||||
HeapFree( GetProcessHeap(), 0, userW );
|
||||
HeapFree( GetProcessHeap(), 0, dirW );
|
||||
return ret;
|
||||
|
Loading…
x
Reference in New Issue
Block a user