thorfour opened a new issue, #36850:
URL: https://github.com/apache/arrow/issues/36850

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   Today in the `Concatenate` function we recover if the concat function panics
   
https://github.com/apache/arrow/blob/b31977fd22afdb44cc8344f7814d1f6cd507a964/go/arrow/array/concat.go#L44-L54
   
   However, if the concat function panics we don't call `Release` on the Array 
data that has been built up until the panic:
   
https://github.com/apache/arrow/blob/b31977fd22afdb44cc8344f7814d1f6cd507a964/go/arrow/array/concat.go#L372
   
   Which causes us to leak allocations in the `memory.Allocator` 
   
   ### Component(s)
   
   Go


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