Rob Shearman : 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.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Apr 25 07:06:29 CDT 2007


Module: wine
Branch: master
Commit: 3323303e091555d49028ede48d8ad4c186e2e3f0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3323303e091555d49028ede48d8ad4c186e2e3f0

Author: Rob Shearman <rob at codeweavers.com>
Date:   Tue Apr 24 12:31:31 2007 +0100

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.

---

 dlls/msi/table.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/msi/table.c b/dlls/msi/table.c
index ea1314e..974b3f1 100644
--- a/dlls/msi/table.c
+++ b/dlls/msi/table.c
@@ -681,6 +681,7 @@ UINT msi_create_table( MSIDATABASE *db, LPCWSTR name, column_info *col_info,
     tv = NULL;
 
     msiobj_release( &rec->hdr );
+    rec = NULL;
 
     if( persistent )
     {




More information about the wine-cvs mailing list