Commit 2acf5086 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Make sure to release the package we grabbed on the error path.

parent 348449a4
......@@ -1787,6 +1787,7 @@ msi_dialog *msi_dialog_create( MSIPACKAGE* package, LPCWSTR szDialogName,
rec = msi_get_dialog_record( dialog );
if( !rec )
{
msiobj_release( &package->hdr );
HeapFree( GetProcessHeap(), 0, dialog );
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