msi: Fully initialize the control structure in dialog_line_control().

Fixes: 76606eaea0
Fixes: 174b7b51ac
This commit is contained in:
Jinoh Kang 2023-07-13 22:07:28 +09:00 committed by Alexandre Julliard
parent 548d7179e3
commit 735584076e

View file

@ -1192,10 +1192,12 @@ static UINT dialog_line_control( msi_dialog *dialog, MSIRECORD *rec )
lstrcpyW( control->name, name );
list_add_head( &dialog->controls, &control->entry );
control->handler = NULL;
control->update = NULL;
control->property = NULL;
control->value = NULL;
control->hBitmap = NULL;
control->hIcon = NULL;
control->hImageList = NULL;
control->hDll = NULL;
control->tabnext = wcsdup( MSI_RecordGetString( rec, 11 ) );
control->type = wcsdup( MSI_RecordGetString( rec, 3 ) );