msi: Fix infinite loop.
This commit is contained in:
parent
62f7ba2555
commit
a4c6107d81
|
@ -1054,7 +1054,7 @@ static const MSICLASS *get_progid_class( const MSIPROGID *progid )
|
|||
{
|
||||
if (progid->Parent) progid = progid->Parent;
|
||||
if (progid->Class) return progid->Class;
|
||||
if (!progid->Parent) break;
|
||||
if (!progid->Parent || progid->Parent == progid) break;
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue