hbase/hbase-asyncfs
Norman Maurer ff710b8252 HBASE-27180 Fix multiple possible buffer leaks (#4597)
* Fix multiple possible buffer leaks

Motivation:

When using ByteBuf you need to be very careful about releasing it as otherwise you might leak data. There were various places in the code-base where such a leak could happen.

Modifications:

- Fix possible buffer leaks
- Ensure we call touch(...) so its easier to debug buffer leaks

Result:

Fix buffer leaks

* Formatting

* Revert some changes as requested

* revert touch

* Also release checksum and header buffers

Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit 2197b3806b)
2022-07-08 08:32:33 +08:00
..
src HBASE-27180 Fix multiple possible buffer leaks (#4597) 2022-07-08 08:32:33 +08:00
pom.xml Preparing development version 2.4.14-SNAPSHOT 2022-06-22 20:15:07 -07:00