Optional freeing of circular buffer