msi: Fix crash with access to component.

This commit is contained in:
André Hentschel 2010-01-30 14:01:58 +01:00 committed by Alexandre Julliard
parent b0d2f77cc9
commit 3299bfd471
1 changed files with 2 additions and 1 deletions

View File

@ -365,7 +365,8 @@ static UINT ITERATE_DuplicateFiles(MSIRECORD *row, LPVOID param)
debugstr_w(component));
/* the action taken was the same as the current install state */
comp->Action = comp->Installed;
if (comp)
comp->Action = comp->Installed;
return ERROR_SUCCESS;
}