Commit 341d1fa7 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

msi: Initialize a handle in case MsiGetSummaryInformation fails.

parent 21bde9d9
......@@ -2388,7 +2388,7 @@ static UINT run_query(MSIHANDLE hdb, MSIHANDLE hrec, const char *query)
static void set_transform_summary_info(void)
{
UINT r;
MSIHANDLE suminfo;
MSIHANDLE suminfo = 0;
/* build summmary info */
r = MsiGetSummaryInformation(0, mstfile, 3, &suminfo);
......@@ -2425,10 +2425,7 @@ static void set_transform_summary_info(void)
}
r = MsiCloseHandle(suminfo);
todo_wine
{
ok(r == ERROR_SUCCESS , "Failed to close suminfo\n");
}
ok(r == ERROR_SUCCESS , "Failed to close suminfo\n");
}
static void generate_transform(void)
......
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