CEnumMediaTypes::~CEnumMediaTypes() { #ifdef DEBUG DbgRegisterObjectDestruction(m_dwCookie); #endif m_pPin->Release(); }
CEnumPins::~CEnumPins() { m_pFilter->Release(); #ifdef DEBUG DbgRegisterObjectDestruction(m_dwCookie); #endif }
CBaseObject::~CBaseObject() { /* Decrement the number of objects active */ if (InterlockedDecrement(&m_cObjects) == 0) { if (hlibOLEAut32) { FreeLibrary(hlibOLEAut32); hlibOLEAut32 = 0; } }; #ifdef DEBUG DbgRegisterObjectDestruction(m_dwCookie); #endif }