diff options
| author | 5an7y-Microsoft <[email protected]> | 2026-06-19 13:21:19 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-06-19 13:21:19 -0700 |
| commit | 7c8087c61eb674e321458f935b6676652c39924d (patch) | |
| tree | fb55f130cc27811373d6ac1978fb4bdc56e4285f /network/config/bindview/NetCfgAPI.cpp | |
| parent | db53f336f5e97b1f505be52be88a56a46a3c2367 (diff) | |
| parent | e99ae832b48b245404f9bd750af4864247b061e8 (diff) | |
Merge pull request #1393 from microsoft/main
FI: Main to develop
Diffstat (limited to 'network/config/bindview/NetCfgAPI.cpp')
| -rw-r--r-- | network/config/bindview/NetCfgAPI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/network/config/bindview/NetCfgAPI.cpp b/network/config/bindview/NetCfgAPI.cpp index 5080bb41..bdbb8e52 100644 --- a/network/config/bindview/NetCfgAPI.cpp +++ b/network/config/bindview/NetCfgAPI.cpp @@ -248,7 +248,7 @@ HRESULT HrInstallNetComponent (IN INetCfg *pnc, { hr = E_OUTOFMEMORY; break; - } + } ZeroMemory(DirWithDrive, (_MAX_DRIVE + _MAX_DIR) * sizeof(WCHAR)); // @@ -329,7 +329,7 @@ HRESULT HrInstallNetComponent (IN INetCfg *pnc, { CoTaskMemFree(DirWithDrive); DirWithDrive = NULL; - } + } return hr; } |
