msi: Don't leak memory on error path.
This commit is contained in:
parent
9c7366c05e
commit
d4d7c263cb
|
@ -391,6 +391,7 @@ static MSIBINARY *create_temp_binary( MSIPACKAGE *package, LPCWSTR source, BOOL
|
|||
if (file == INVALID_HANDLE_VALUE)
|
||||
{
|
||||
msiobj_release( &row->hdr );
|
||||
msi_free( binary );
|
||||
return NULL;
|
||||
}
|
||||
do
|
||||
|
|
Loading…
Reference in New Issue