Changeset 50732 in vbox for trunk/src/VBox/Additions/WINNT/VBoxTray
- Timestamp:
- Mar 10, 2014 9:37:10 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDnDDropTarget.cpp
r50731 r50732 463 463 { 464 464 RTCString strRoot = lstURI.RootToString(); 465 size_t cbRoot = strRoot.length() ;465 size_t cbRoot = strRoot.length() + 1; /* Include termination */ 466 466 Assert(cbRoot); 467 467 468 mpvData = RTMemAlloc Z(cbRoot + 1 /* Include termination */);468 mpvData = RTMemAlloc(cbRoot); 469 469 if (mpvData) 470 470 { 471 471 memcpy(mpvData, strRoot.c_str(), cbRoot); 472 mcbData = cbRoot + 1;472 mcbData = cbRoot; 473 473 } 474 474 else
Note:
See TracChangeset
for help on using the changeset viewer.