Commit 7b3690dd authored by Daniel Lehman's avatar Daniel Lehman Committed by Alexandre Julliard

msi: Release record instead of free.

../dlls/msi/dialog.c:4476:11: warning: attempt to call free on non-heap object 'hdr' [-Wfree-nonheap-object] free( &rec->hdr ); ^
parent d06b3fd5
......@@ -4473,7 +4473,7 @@ static UINT event_set_target_path( msi_dialog *dialog, const WCHAR *argument )
r = MSI_SetTargetPathW( dialog->package, argument, path );
free( path );
}
free( &rec->hdr );
msiobj_release( &rec->hdr );
return r;
}
......
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