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)
'`','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;
}
......
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