Compartir a través de


CBaseAllocator::~CBaseAllocator

 
Microsoft DirectShow 9.0

CBaseAllocator::~CBaseAllocator

Destructor method.

Syntax

  ~CBaseAllocator(void);

Remarks

Always call the CBaseAllocator::Decommit method before destroying the object. The base-class destructor cannot call Decommit, because that method calls the pure virtual method CBaseAllocator::Free. Derived classes should override this destructor and call Decommit.

Requirements

**  Header:** Declared in Amfilter.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also