mlang: fix memory leaks in error path (found by Smatch) [fixed]
Lionel_Debroux
lionel_debroux at yahoo.fr
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 yahoo.fr>
* 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 : http://www.winehq.org/pipermail/wine-patches/attachments/20070926/758b9b97/attachment.patch
More information about the wine-patches
mailing list