761417898 commented on code in PR #428:
URL: https://github.com/apache/tsfile/pull/428#discussion_r1979096102
##########
cpp/src/compress/snappy_compressor.cc:
##########
@@ -26,12 +26,10 @@ namespace storage {
void SnappyCompressor::destroy() {
if (compressed_buf_ != nullptr) {
- mem_free(compressed_buf_);
compressed_buf_ = nullptr;
}
if (uncompressed_buf_ != nullptr) {
- mem_free(uncompressed_buf_);
uncompressed_buf_ = nullptr;
}
}
Review Comment:
Removed
##########
cpp/src/compress/snappy_compressor.cc:
##########
@@ -26,12 +26,10 @@ namespace storage {
void SnappyCompressor::destroy() {
if (compressed_buf_ != nullptr) {
- mem_free(compressed_buf_);
compressed_buf_ = nullptr;
}
if (uncompressed_buf_ != nullptr) {
- mem_free(uncompressed_buf_);
uncompressed_buf_ = nullptr;
}
}
Review Comment:
The changes have been removed.
--
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]