- Timestamp:
- Mar 5, 2007 2:51:40 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxService/VBoxClipboard.cpp
r1103 r1216 288 288 // } 289 289 290 if ( !VirtualLock (pv, cb))290 if (cb > 0 && !VirtualLock (pv, cb)) 291 291 { 292 292 dprintf (("vboxClipboardWriteData: VirtualLock failed\n")); … … 308 308 } 309 309 310 VirtualUnlock (pv, cb); 310 if (cb > 0) 311 { 312 VirtualUnlock (pv, cb); 313 } 311 314 312 315 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.