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:
Hans Leidekker 2009-05-28 15:03:19 +02:00 committed by Alexandre Julliard
parent 2018de00e1
commit 5922de46de
1 changed files with 1 additions and 1 deletions

View File

@ -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;