diff options
| author | Yang You(UU) <[email protected]> | 2026-06-15 15:43:49 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-06-15 15:43:49 -0700 |
| commit | 52f73736b407acb1f8a0af513c9614a5354cea5b (patch) | |
| tree | 7af73a234b3500645d37a57935f62d5a1f4c6b0e /network/config/bindview/NetCfgAPI.cpp | |
| parent | 5426a647c3f86885e4b9d8679d4a4c108933b5ee (diff) | |
| parent | e99ae832b48b245404f9bd750af4864247b061e8 (diff) | |
Merge branch 'microsoft:main' into WifiihvsampleDataPath
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; } |
