msiexec: Fix a memory leak.
This commit is contained in:
parent
d81b6fa8c7
commit
691dc735fd
|
@ -487,6 +487,7 @@ static BOOL process_args_from_reg( LPWSTR ident, int *pargc, WCHAR ***pargv )
|
|||
process_args(buf, pargc, pargv);
|
||||
ret = TRUE;
|
||||
}
|
||||
HeapFree(GetProcessHeap(), 0, buf);
|
||||
}
|
||||
RegCloseKey(hkeyArgs);
|
||||
return ret;
|
||||
|
|
Loading…
Reference in New Issue