FIFOBuffer: add dealloc to prevent memleak