assert on cleaning up for unreleased buffers