James Hawkins : msi: Release the record when loading the hash data.
Alexandre Julliard
julliard at winehq.org
Mon Dec 17 06:41:43 CST 2007
Module: wine
Branch: master
Commit: 1277e1b55a87f90ffc2921b3e8f827b5c101d793
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1277e1b55a87f90ffc2921b3e8f827b5c101d793
Author: James Hawkins <truiken at gmail.com>
Date: Fri Dec 14 15:18:05 2007 -0600
msi: Release the record when loading the hash data.
---
dlls/msi/action.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index 2da9f13..4d71822 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -1401,7 +1401,7 @@ static UINT load_file_hash(MSIPACKAGE *package, MSIFILE *file)
'`','M','s','i','F','i','l','e','H','a','s','h','`',' ',
'W','H','E','R','E',' ','`','F','i','l','e','_','`',' ','=',' ','\'','%','s','\'',0};
MSIQUERY *view = NULL;
- MSIRECORD *row;
+ MSIRECORD *row = NULL;
UINT r;
TRACE("%s\n", debugstr_w(file->File));
@@ -1426,6 +1426,7 @@ static UINT load_file_hash(MSIPACKAGE *package, MSIFILE *file)
done:
if (view) msiobj_release(&view->hdr);
+ if (row) msiobj_release(&row->hdr);
return r;
}
More information about the wine-cvs
mailing list