msi: fix memory leaks (found by Smatch).

Lionel_Debroux lionel_debroux at
Sun Dec 9 04:44:17 CST 2007

"msi_build_insertsql_data" and "MSI_DatabaseImport" in
dlls/msi/database.c get flagged by Michael Stefaniuc's

It looks there are more leaks than reports, due to
constructs of the form
ptr = msi_realloc(ptr, size);
Fixed those as well.

2007-12-09  Lionel Debroux <lionel_debroux at>
        * dlls/msi/database.c:
        msi: fix memory leaks (found by Smatch).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-msi-fix-memory-leaks-found-by-Smatch.patch
Type: text/x-diff
Size: 0 bytes
Desc: not available
Url : 

More information about the wine-patches mailing list