761417898 opened a new issue, #120:
URL: https://github.com/apache/tsfile/issues/120
BitPackDecoder calls `free` for the variables `current_buffer_`, `packer_`,
and `tmp_buf` in the destructor, but there is no corresponding `malloc` in the
constructor. This will cause the program to crash.
```
~BitPackDecoder() { destroy(); }
void destroy() { /* do nothing for BitpackEncoder */
delete (packer_);
delete[] current_buffer_;
common::mem_free(tmp_buf);
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]