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

Lionel_Debroux lionel_debroux at
Wed Sep 26 07:36:27 CDT 2007

ConvertINetString leaks some heap memory in an error path. Found in
Michael Stefaniuc's list of Wine potential bugs detected by Smatch.

This new version of the patch gets rid of the goto I added and writes 
the code the way Dmitry Timoshkov suggested.

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-mlang-fix-memory-leak-in-error-path-found-by-Smatc.patch
Type: text/x-diff
Size: 0 bytes
Desc: not available
Url : 

More information about the wine-patches mailing list