[interfacekit] BBlockCache bug

About BBlockCache ... I guess I caught the destructor bug:

BBlockCache::~BBlockCache()
{
  delete[] (int8*)fCache;
}


since fCache is allocated as

fCache = (void *)new _Block[CacheSize];

it should be deleted as 

delete[] (_Block *)fCache;


I can't fix it now since I am on a windows machine (at work :P), if no one is 
faster I see if I can fix it within this week.

A more important note: The current BBlockCache implementation just use malloc 
or new... shouldn't it use a proper memory allocator?

Yeah, I know the last BlockCache commit shows my name, but it was just a 
cleanup. The original implementation was by Massimiliano Origgi.


Other related posts: