ntdll: fix memory leak in GetDiskFreeSpaceW

Vitaliy Margolen wine-devel at kievinfo.com
Mon Nov 9 23:43:16 CST 2009


Dan Kegel wrote:
> Found while valgrinding chromium's app_unittests.
> 
> + done:
> +    RtlFreeHeap(GetProcessHeap(), 0, val.Buffer);
> +
You should us RtlFreeUnicodeString( &val ); instead.

Vitaliy.



More information about the wine-devel mailing list