From 37a058208d78fc2b9f4884a20abcbea2d861ff2c Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Sun, 13 Dec 2009 19:36:09 -0800 Subject: [PATCH] msi: Fix a record handle leak. --- dlls/msi/database.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/msi/database.c b/dlls/msi/database.c index d823dc61d7e..3896454cb34 100644 --- a/dlls/msi/database.c +++ b/dlls/msi/database.c @@ -622,6 +622,7 @@ static UINT msi_add_records_to_table(MSIDATABASE *db, LPWSTR *columns, LPWSTR *t while (MSI_ViewFetch(view, &rec) != ERROR_NO_MORE_ITEMS) { r = MSI_ViewModify(view, MSIMODIFY_DELETE, rec); + msiobj_release(&rec->hdr); if (r != ERROR_SUCCESS) goto done; }