[1/2] msi: Free memory on error (valgrind).
Hans Leidekker
hans at codeweavers.com
Tue Jan 18 02:16:28 CST 2011
---
dlls/msi/assembly.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/assembly.c b/dlls/msi/assembly.c
index 04d42b4..539855c 100644
--- a/dlls/msi/assembly.c
+++ b/dlls/msi/assembly.c
@@ -319,6 +319,9 @@ MSIASSEMBLY *load_assembly( MSIPACKAGE *package, MSICOMPONENT *comp )
{
WARN("can't get display name\n");
msiobj_release( &rec->hdr );
+ msi_free( a->feature );
+ msi_free( a->manifest );
+ msi_free( a->application );
msi_free( a );
return NULL;
}
--
1.7.1
More information about the wine-patches
mailing list