msi: Free the ordering information.

This commit is contained in:
James Hawkins 2007-12-18 16:49:37 -06:00 committed by Alexandre Julliard
parent 650b273361
commit b774ffe1d2
1 changed files with 7 additions and 1 deletions

View File

@ -1659,9 +1659,15 @@ static UINT TABLE_delete( struct tagMSIVIEW *view )
TRACE("%p\n", view );
tv->table = NULL;
tv->columns = NULL;
if (tv->order)
{
msi_free( tv->order->reorder );
msi_free( tv->order );
tv->order = NULL;
}
msi_free( tv );
return ERROR_SUCCESS;