Changeset 83562 in vbox for trunk/src/VBox
- Timestamp:
- Apr 5, 2020 1:46:16 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA_VBVA.cpp
r82968 r83562 112 112 } 113 113 114 RTMemFree (pVBVAData->partialRecord.pu8);114 RTMemFreeZ(pVBVAData->partialRecord.pu8, pVBVAData->partialRecord.cb); 115 115 116 116 RT_ZERO(*pVBVAData); … … 766 766 if (cbPointerData > pCtx->mouseShapeInfo.cbAllocated) 767 767 { 768 RTMemFree (pCtx->mouseShapeInfo.pu8Shape);768 RTMemFreeZ(pCtx->mouseShapeInfo.pu8Shape, pCtx->mouseShapeInfo.cbAllocated); 769 769 pCtx->mouseShapeInfo.pu8Shape = NULL; 770 770 pCtx->mouseShapeInfo.cbShape = 0; … … 2744 2744 2745 2745 pCtx->mouseShapeInfo.fSet = false; 2746 RTMemFree (pCtx->mouseShapeInfo.pu8Shape);2746 RTMemFreeZ(pCtx->mouseShapeInfo.pu8Shape, pCtx->mouseShapeInfo.cbAllocated); 2747 2747 pCtx->mouseShapeInfo.pu8Shape = NULL; 2748 2748 pCtx->mouseShapeInfo.cbAllocated = 0; … … 2857 2857 VBVACONTEXT *pCtx = (VBVACONTEXT *)HGSMIContext(pHgsmi); 2858 2858 pCtx->mouseShapeInfo.fSet = false; 2859 RTMemFree (pCtx->mouseShapeInfo.pu8Shape);2859 RTMemFreeZ(pCtx->mouseShapeInfo.pu8Shape, pCtx->mouseShapeInfo.cbAllocated); 2860 2860 pCtx->mouseShapeInfo.pu8Shape = NULL; 2861 2861 pCtx->mouseShapeInfo.cbAllocated = 0;
Note:
See TracChangeset
for help on using the changeset viewer.