msi: Check for NULL transform, as there may be no transforms for the _Columns or _Tables tables.

This commit is contained in:
James Hawkins 2007-07-10 11:26:44 -07:00 committed by Alexandre Julliard
parent a2406b8ca5
commit f0b97cb1e1
1 changed files with 6 additions and 1 deletions

View File

@ -1981,7 +1981,12 @@ static UINT msi_table_load_transform( MSIDATABASE *db, IStorage *stg,
MSIRECORD *rec = NULL;
UINT colcol = 0;
WCHAR coltable[32];
LPWSTR name = transform->name;
LPWSTR name;
if (!transform)
return ERROR_SUCCESS;
name = transform->name;
coltable[0] = 0;
TRACE("%p %p %p %s\n", db, stg, st, debugstr_w(name) );