Commit cda469c8 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

msi: Fix handle leak in ITERATE_SelfRegModules.

parent 88a97daa
...@@ -3771,7 +3771,11 @@ static UINT ITERATE_SelfRegModules(MSIRECORD *row, LPVOID param) ...@@ -3771,7 +3771,11 @@ static UINT ITERATE_SelfRegModules(MSIRECORD *row, LPVOID param)
&si, &info); &si, &info);
if (brc) if (brc)
{
CloseHandle(info.hThread);
msi_dialog_check_messages(info.hProcess); msi_dialog_check_messages(info.hProcess);
CloseHandle(info.hProcess);
}
msi_free(FullName); msi_free(FullName);
......
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