[PATCH] msi: fixed a memory leak in an error case (Coverity)
Marcus Meissner
marcus at jet.franken.de
Sat Oct 5 05:59:14 CDT 2013
1099493 Resource leak
---
dlls/msi/package.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/msi/package.c b/dlls/msi/package.c
index 1c1dd94..73f342c 100644
--- a/dlls/msi/package.c
+++ b/dlls/msi/package.c
@@ -1077,6 +1077,7 @@ static UINT msi_load_summary_properties( MSIPACKAGE *package )
if (rc != ERROR_SUCCESS)
{
WARN("Unable to query rev number: %d\n", rc);
+ msi_free( package_code );
goto done;
}
--
1.7.10.4
More information about the wine-patches
mailing list