msi: Free memory on error (valgrind).

This commit is contained in:
Hans Leidekker 2011-01-18 09:16:28 +01:00 committed by Alexandre Julliard
parent fdd0114407
commit 17cc23d365
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}