EdwardShen125 opened a new issue, #1672: URL: https://github.com/apache/arrow-go/issues/1672
### Describe the bug `BinaryViewBuilder.Release` frees `nullBitmap` and `data` but never calls `blockBuilder.Release`, so blocks allocated by `ReserveData` (or by appending out-of-line values) leak unless the builder is drained through `NewArray` first. ### How to reproduce ```go mem := memory.NewCheckedAllocator(memory.DefaultAllocator) bldr := array.NewStringViewBuilder(mem) bldr.ReserveData(64) bldr.Release() // mem.AssertSize(t, 0) fails: LEAK of 32768 bytes from // multiBufferBuilder.Reserve ``` Hit by the error path of #1671. ### Component(s) Other -- 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]
