Changeset 92772 in vbox
- Timestamp:
- Dec 6, 2021 7:09:30 PM (3 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp
r92735 r92772 240 240 LogFlowFunc(("uSource=%RU16: New event: %#x\n", pSource->uID, idEvent)); 241 241 242 ShClEventRetain(pEvent); 242 243 *ppEvent = pEvent; 243 244 -
trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc.cpp
r92735 r92772 1293 1293 shClSvcMsgAdd(pClient, pMsg, true /* fAppend */); 1294 1294 1295 /* Retain the last event generated (in case there were multiple clipboard formats) 1296 * if we need to return the event to the caller. */ 1295 /* Return event handle to the caller if requested. */ 1297 1296 if (ppEvent) 1298 1297 { 1299 ShClEventRetain(pEvent);1300 1298 *ppEvent = pEvent; 1301 1299 } 1302 1300 1303 1301 shClSvcClientWakeup(pClient); 1302 } 1303 1304 /* Remove event from list if caller did not request event handle or in case 1305 * of failure (in this case caller should not release event). */ 1306 if ( RT_FAILURE(rc) 1307 || !ppEvent) 1308 { 1309 ShClEventRelease(pEvent); 1304 1310 } 1305 1311 }
Note:
See TracChangeset
for help on using the changeset viewer.