【bugfix合入】zstd压缩库内存管理改造

Co-authored-by: zhjc1124 <zhjc1124@gmail.com>
This commit is contained in:
obdev
2024-03-22 09:52:27 +00:00
committed by ob-robot
parent d98a647a20
commit 8a7386cdbf
21 changed files with 77 additions and 476 deletions

View File

@ -38,7 +38,6 @@ void ObChunkBlockCompressor::reset()
{
compressor_type_ = NONE_COMPRESSOR;
if (compressor_ != nullptr) {
compressor_->reset_mem();
compressor_ = nullptr;
}
}
@ -125,4 +124,4 @@ int ObChunkBlockCompressor::decompress(const char *in, const int64_t in_size,
}
}
}
}