Changeset 67772 in vbox for trunk/src/VBox/Additions/WINNT/VBoxCredProv/VBoxCredProvProvider.cpp
- Timestamp:
- Jul 4, 2017 11:42:31 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxCredProv/VBoxCredProvProvider.cpp
r63070 r67772 415 415 RT_BZERO(pcpFieldDesc, sizeof(CREDENTIAL_PROVIDER_FIELD_DESCRIPTOR)); 416 416 417 pcpFieldDesc->dwFieldID = field.desc.dwFieldID;418 pcpFieldDesc->cpft = field.desc.cpft;417 pcpFieldDesc->dwFieldID = field.desc.dwFieldID; 418 pcpFieldDesc->cpft = field.desc.cpft; 419 419 if (field.desc.pszLabel) 420 { 420 421 hr = SHStrDupW(field.desc.pszLabel, &pcpFieldDesc->pszLabel); 422 423 VBoxCredProvVerbose(0, "VBoxCredProv::GetFieldDescriptorAt: dwIndex=%ld, pszLabel=%ls\n", 424 dwIndex, 425 #ifdef DEBUG /* Don't show any (sensitive data) in release mode. */ 426 field.desc.pszLabel); 427 #else 428 L"XXX"); 429 #endif 430 } 431 pcpFieldDesc->guidFieldType = field.desc.guidFieldType; 421 432 } 422 433 else … … 425 436 if (SUCCEEDED(hr)) 426 437 *ppFieldDescriptor = pcpFieldDesc; 427 else 438 else if (pcpFieldDesc) 428 439 CoTaskMemFree(pcpFieldDesc); 429 440 }
Note:
See TracChangeset
for help on using the changeset viewer.