Dispose of intermediate buffers when throwing them away.