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

   ## What changed
   
   Release the JSON reader record builder whenever the final reader reference 
is released, independently of whether a current record batch exists.
   
   ## Why
   
   The builder release was nested under the current-record check. This leaked 
the builder when the reader was released before its first read, after consuming 
empty input, or after reaching EOF and clearing the final record.
   
   The regression test covers all three lifecycle paths with a checked 
allocator.
   
   ## Testing
   
   - `go test ./arrow/array`


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