mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 13:03:01 +08:00
[vcpkg] free memory CommandLineToArgvW
This commit is contained in:
parent
3a026cbe21
commit
330b29732c
@ -13,4 +13,6 @@ int WINAPI WinMain(_In_ HINSTANCE, _In_opt_ HINSTANCE, _In_ LPSTR, _In_ int)
|
||||
Checks::check_exit(VCPKG_LINE_INFO, argCount == 2, "Requires exactly one argument, the path to the payload file");
|
||||
auto v = Files::get_real_filesystem().read_contents(szArgList[1]).value_or_exit(VCPKG_LINE_INFO);
|
||||
Metrics::g_metrics.lock()->upload(v);
|
||||
LocalFree(szArgList);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user