mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
msiexec: Fix a memory leak.
This commit is contained in:
parent
d81b6fa8c7
commit
691dc735fd
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue