Question about GetTokenInformation and memory leaks

Reece Dunn msclrhd at googlemail.com
Mon Nov 9 16:18:59 CST 2009


2009/11/9 Dan Kegel <dank at kegel.com>:
> I've never used the security apis, so I'm pretty unfamiliar with them.
> Valgrinding chromium's sandbox_unittests.exe shows the leak
>
> (I think the code leaks token_handle, but fixing
> that doesn't get rid of the reported leak.)

token_handle does not leak -- access_token is managing it via
`access_token.Attach(token_handle);` (when OpenProcessToken succeeds
and token_handle is not NULL).



More information about the wine-devel mailing list