Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 16 of file cleanup.c.
{ DX_WINDBG_trace(); if (ddgbl.lpDDCBtmp != NULL) { DxHeapMemFree(ddgbl.lpDDCBtmp); } if (ddgbl.lpdwFourCC != NULL) { DxHeapMemFree(ddgbl.lpdwFourCC); } if (ddgbl.lpModeInfo != NULL) { DxHeapMemFree(ddgbl.lpModeInfo); } DdDeleteDirectDrawObject(&ddgbl); /* anything else to release? */ /* release the linked interface */ //while (IsBadWritePtr( This->lpVtbl, sizeof( LPDDRAWI_DIRECTDRAW_INT )) ) //{ // LPDDRAWI_DIRECTDRAW_INT newThis = This->lpVtbl; // if (This->lpLcl != NULL) // { // DeleteDC(This->lpLcl->hDC); // DxHeapMemFree(This->lpLcl); // } // DxHeapMemFree(This); // This = newThis; //} /* release unlinked interface */ if (This->lpLcl != NULL) { DxHeapMemFree(This->lpLcl); } //if (This != NULL) //{ // DxHeapMemFree(This); //} }