Changeset 83551 in vbox for trunk/src/VBox/Devices/VMMDev
- Timestamp:
- Apr 4, 2020 11:42:04 AM (5 years ago)
- Location:
- trunk/src/VBox/Devices/VMMDev
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/VMMDev/VMMDev.cpp
r83142 r83551 3083 3083 { /* likely */ } 3084 3084 else 3085 RTMemFree (pRequestHeaderFree);3085 RTMemFreeZ(pRequestHeaderFree, RT_MAX(requestHeader.size, 512)); 3086 3086 return rcRet; 3087 3087 } -
trunk/src/VBox/Devices/VMMDev/VMMDevHGCM.cpp
r82968 r83551 352 352 353 353 if (pHostParm->type == VBOX_HGCM_SVC_PARM_PTR) 354 RTMemFree (pHostParm->u.pointer.addr);354 RTMemFreeZ(pHostParm->u.pointer.addr, pHostParm->u.pointer.size); 355 355 356 356 if ( pGuestParm->enmType == VMMDevHGCMParmType_LinAddr_In … … 1591 1591 VMMDevNotifyGuest(pDevIns, pThis, pThisCC, VMMDEV_EVENT_HGCM); 1592 1592 1593 RTMemFree (pHeader);1593 RTMemFreeZ(pHeader, pCmd->cbRequest); 1594 1594 } 1595 1595 else
Note:
See TracChangeset
for help on using the changeset viewer.