Kaustav-Sarkar opened a new pull request, #1146:
URL: https://github.com/apache/arrow-java/pull/1146

   ## Summary
   
     - Fix resource leak in `VectorLoader` when buffer decompression fails 
mid-loop
     - Wrap decompression and `loadFieldBuffers` in try-finally to ensure all 
already-decompressed `ArrowBuf`s are released on failure
   
   ## Test plan
   
     - [x] Existing `TestVectorLoader` tests pass
     - [x] Verified decompressed buffers are released when a subsequent 
decompression throws


-- 
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]

Reply via email to