msi: Don't duplicate the table name in CREATE_CreateView.
The table name is tracked in the list attached to the parent query object, which is destroyed after the view object. This plugs a leak since the duplicated table name was never freed.
This commit is contained in:
parent
2018de00e1
commit
5922de46de
|
@ -180,7 +180,7 @@ UINT CREATE_CreateView( MSIDATABASE *db, MSIVIEW **view, LPCWSTR table,
|
|||
for( col = col_info; col; col = col->next )
|
||||
{
|
||||
if (!col->table)
|
||||
col->table = strdupW(table);
|
||||
col->table = table;
|
||||
|
||||
if( !col->temporary )
|
||||
temp = FALSE;
|
||||
|
|
Loading…
Reference in New Issue