Share via


CBaseAllocator::Free

 
Microsoft DirectShow 9.0

CBaseAllocator::Free

The Free method releases all of the buffer memory. This method is called when the owning filter decommits the allocator, after the last media sample is released.

Syntax

  virtual void Free(void) PURE; 

Remarks

After the Decommit method is called, the allocator calls this method when it releases the last media sample. The derived class must implement this method.

Requirements

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

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

See Also