With these three lines allocating memory, only the first two are detected. The line that allocates memory using SysAllocString() does not show as leaked.
```
char* pst = new char[20];
BYTE* pb = (BYTE*) ::CoTaskMemAlloc(20);
BSTR bs = ::SysAllocString(L"hello");
```
Comments: VLD not support detecting SysAllocString allocations
```
char* pst = new char[20];
BYTE* pb = (BYTE*) ::CoTaskMemAlloc(20);
BSTR bs = ::SysAllocString(L"hello");
```
Comments: VLD not support detecting SysAllocString allocations