Mike McCormack : msi: Fix a memory leak.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Oct 10 06:50:39 CDT 2006


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

Author: Mike McCormack <mike at codeweavers.com>
Date:   Tue Oct 10 19:20:32 2006 +0900

msi: Fix a memory leak.

---

 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 8fe3728..4c0075a 100644
--- a/dlls/msi/table.c
+++ b/dlls/msi/table.c
@@ -977,6 +977,7 @@ static UINT get_tablecolumns( MSIDATABAS
             {
                 ERR("oops. data in the _Columns table isn't in the right "
                     "order for table %s\n", debugstr_w(szTableName));
+                msi_free_colinfo(colinfo, n+1 );
                 return ERROR_FUNCTION_FAILED;
             }
         }




More information about the wine-cvs mailing list