AynSiddiqui opened a new pull request, #1569:
URL: https://github.com/apache/arrow-go/pull/1569

   ### Rationale for this change
   
   Part 1 of #77: an invalid buffer slice panics after retaining its parent, 
leaving an allocation outstanding.
   
   ### What changes are included in this PR?
   
   Evaluate the slice before retaining the parent. Further IPC loader cleanup 
remains for later work.
   
   ### Are these changes tested?
   
   A checked-allocator test fails on main and passes with this change. IPC 
tests, race tests, and vet pass. The local stream corpus has 3 leaking inputs 
after this change, down from 35.
   
   ### Are there any user-facing changes?
   
   Invalid slices still panic but no longer retain the parent buffer.
   


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