msi: Don't leak memory on error path.

This commit is contained in:
Joris Huizer 2010-12-02 22:52:41 +01:00 committed by Alexandre Julliard
parent 9c7366c05e
commit d4d7c263cb
1 changed files with 1 additions and 0 deletions

View File

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