[PATCH 1/3] msi: Set rec to NULL after calling msiobj_release on it in msi_create_table so that we don't call msiobj_release on it again.

Robert Shearman rob at codeweavers.com
Tue Apr 24 06:31:31 CDT 2007


---
  dlls/msi/table.c |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)
-------------- next part --------------
diff --git a/dlls/msi/table.c b/dlls/msi/table.c
index e1d96a7..39a630c 100644
--- a/dlls/msi/table.c
+++ b/dlls/msi/table.c
@@ -681,6 +681,7 @@ UINT msi_create_table( MSIDATABASE *db, 
     tv = NULL;
 
     msiobj_release( &rec->hdr );
+    rec = NULL;
 
     if( persistent )
     {


More information about the wine-patches mailing list