Skip to content
Snippets Groups Projects
Commit d4d7c263 authored by Joris Huizer's avatar Joris Huizer Committed by Alexandre Julliard
Browse files

msi: Don't leak memory on error path.

parent 9c7366c0
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment