Commit 1277e1b5 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

msi: Release the record when loading the hash data.

parent b8133550
...@@ -1401,7 +1401,7 @@ static UINT load_file_hash(MSIPACKAGE *package, MSIFILE *file) ...@@ -1401,7 +1401,7 @@ static UINT load_file_hash(MSIPACKAGE *package, MSIFILE *file)
'`','M','s','i','F','i','l','e','H','a','s','h','`',' ', '`','M','s','i','F','i','l','e','H','a','s','h','`',' ',
'W','H','E','R','E',' ','`','F','i','l','e','_','`',' ','=',' ','\'','%','s','\'',0}; 'W','H','E','R','E',' ','`','F','i','l','e','_','`',' ','=',' ','\'','%','s','\'',0};
MSIQUERY *view = NULL; MSIQUERY *view = NULL;
MSIRECORD *row; MSIRECORD *row = NULL;
UINT r; UINT r;
TRACE("%s\n", debugstr_w(file->File)); TRACE("%s\n", debugstr_w(file->File));
...@@ -1426,6 +1426,7 @@ static UINT load_file_hash(MSIPACKAGE *package, MSIFILE *file) ...@@ -1426,6 +1426,7 @@ static UINT load_file_hash(MSIPACKAGE *package, MSIFILE *file)
done: done:
if (view) msiobj_release(&view->hdr); if (view) msiobj_release(&view->hdr);
if (row) msiobj_release(&row->hdr);
return r; return r;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment