ByteBuffer::~ByteBuffer() { delete bytes_; }
delete arrays like above is dangerous, using delete[] bytes; instead
Log in to post a comment.