[PATCH 4/13] msi: Remove the hash table for a column when one of its values is modified since it will now be invalid.

Robert Shearman rob at codeweavers.com
Mon Apr 23 02:19:07 CDT 2007


---
  dlls/msi/table.c |    3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)
-------------- next part --------------
diff --git a/dlls/msi/table.c b/dlls/msi/table.c
index ddbd041..d541b54 100644
--- a/dlls/msi/table.c
+++ b/dlls/msi/table.c
@@ -996,6 +996,9 @@ static UINT TABLE_set_int( MSITABLEVIEW 
         return ERROR_FUNCTION_FAILED;
     }
 
+    msi_free( tv->columns[col-1].hash_table );
+    tv->columns[col-1].hash_table = NULL;
+
     n = bytes_per_column( &tv->columns[col-1] );
     switch( n )
     {


More information about the wine-patches mailing list