mlang: fix memory leaks in error paths (found by Smatch) [fixed]

Lionel_Debroux lionel_debroux at yahoo.fr
Wed Sep 26 07:35:43 CDT 2007


EnumRfc1766_create leaks some heap memory in two error paths. Found in
Michael Stefaniuc's list of Wine potential bugs detected by Smatch.

The source that the patch yields does compile, unlike that of two days 
ago...
My four other patches (three to msvcrt; another to mlang, which I'm 
resending in another mail, following feedback on wine-devel) also yield 
code that compiles.

2007-09-24  Lionel Debroux <lionel_debroux at yahoo.fr>
        * dlls/mlang/mlang.c:
        mlang: fix memory leaks in error paths (found by Smatch).


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-mlang-fix-memory-leaks-in-error-paths-found-by-Sma.patch
Type: text/x-diff
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070926/ce01a957/attachment.patch 


More information about the wine-patches mailing list