[#2212] CID25916:

Changed the 'frees' to 'clearBBufs' and cleared the right pointers.