iDQ: Patch several memory leaks
Several patches in this commit/MR:
- Recycle memory locations when popping off queue and pushing to head
- Free buf_vector at the end of each call to integrate. No need to store as property of element.
- Free both queue and queue elements in finalize.