James Hawkins : msi: Free the ordering information.
Alexandre Julliard
julliard at winehq.org
Wed Dec 19 06:58:16 CST 2007
Module: wine
Branch: master
Commit: b774ffe1d21d3eaabc00ba6376bf91c937b573a6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b774ffe1d21d3eaabc00ba6376bf91c937b573a6
Author: James Hawkins <truiken at gmail.com>
Date: Tue Dec 18 16:49:37 2007 -0600
msi: Free the ordering information.
---
dlls/msi/table.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/dlls/msi/table.c b/dlls/msi/table.c
index 7f6f8ef..844feb3 100644
--- a/dlls/msi/table.c
+++ b/dlls/msi/table.c
@@ -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;
More information about the wine-cvs
mailing list