Hans Leidekker : msi: Free memory on error (valgrind).
Alexandre Julliard
julliard at winehq.org
Tue Jan 18 10:27:35 CST 2011
Module: wine
Branch: master
Commit: 17cc23d3657fb7c0eab0a019dfba69f1ef81e524
URL: http://source.winehq.org/git/wine.git/?a=commit;h=17cc23d3657fb7c0eab0a019dfba69f1ef81e524
Author: Hans Leidekker <hans at codeweavers.com>
Date: Tue Jan 18 09:16:28 2011 +0100
msi: Free memory on error (valgrind).
---
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;
}
More information about the wine-cvs
mailing list