- Timestamp:
- Dec 27, 2017 6:36:30 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA_VBVA.cpp
r70077 r70370 2967 2967 } 2968 2968 2969 void VBVADestroy 2970 { 2971 VBVACONTEXT *pCtx = (VBVACONTEXT *)HGSMIContext (pVGAState->pHGSMI);2972 2973 if (pCtx)2974 {2969 void VBVADestroy(PVGASTATE pVGAState) 2970 { 2971 PHGSMIINSTANCE pHgsmi = pVGAState->pHGSMI; 2972 if (pHgsmi) 2973 { 2974 VBVACONTEXT *pCtx = (VBVACONTEXT *)HGSMIContext(pHgsmi); 2975 2975 pCtx->mouseShapeInfo.fSet = false; 2976 2976 RTMemFree(pCtx->mouseShapeInfo.pu8Shape); … … 2978 2978 pCtx->mouseShapeInfo.cbAllocated = 0; 2979 2979 pCtx->mouseShapeInfo.cbShape = 0; 2980 } 2981 2982 HGSMIDestroy (pVGAState->pHGSMI); 2983 pVGAState->pHGSMI = NULL; 2984 } 2980 2981 HGSMIDestroy(pHgsmi); 2982 pVGAState->pHGSMI = NULL; 2983 } 2984 } 2985
Note:
See TracChangeset
for help on using the changeset viewer.