read: Set destructor of binary coded box properly.

This fix a memory leak.