Commit 5922de46 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

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.
parent 2018de00
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment