Commit d4d7c263 authored by Joris Huizer's avatar Joris Huizer Committed by Alexandre Julliard

msi: Don't leak memory on error path.

parent 9c7366c0
......@@ -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
......
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