msiexec: Fix a memory leak.

This commit is contained in:
Andrew Talbot 2007-10-15 20:29:19 +01:00 committed by Alexandre Julliard
parent d81b6fa8c7
commit 691dc735fd
1 changed files with 1 additions and 0 deletions

View File

@ -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;