BufferContents constructor that takes a buffer_t wasn't initializing allocation