Commit 17cc23d3 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msi: Free memory on error (valgrind).

parent fdd01144
...@@ -319,6 +319,9 @@ MSIASSEMBLY *load_assembly( MSIPACKAGE *package, MSICOMPONENT *comp ) ...@@ -319,6 +319,9 @@ MSIASSEMBLY *load_assembly( MSIPACKAGE *package, MSICOMPONENT *comp )
{ {
WARN("can't get display name\n"); WARN("can't get display name\n");
msiobj_release( &rec->hdr ); msiobj_release( &rec->hdr );
msi_free( a->feature );
msi_free( a->manifest );
msi_free( a->application );
msi_free( a ); msi_free( a );
return NULL; return NULL;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment