kernel32: fix memory leak (found by Smatch).

Alexandre Julliard julliard at
Fri Oct 12 03:03:29 CDT 2007

Lionel Debroux <lionel_debroux at> writes:

> Is there anything wrong with this patch ? I think this one is a real memory leak.

nt_name is still leaked, and now you are leaking a file handle
too. You really need to be more careful with these fixes.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list