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

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   There are two allocation in grow_double. If the first suceeded but the 
second failed, the function will return without Free the first buffer 
   ```
   RETURN_NOT_OK(pool_->Allocate(block_size_total_after, &blocks_new));
   RETURN_NOT_OK(pool_->Allocate(hashes_size_total_after, &hashes_new_8B));
   ```
   
   
https://github.com/apache/arrow/blob/main/cpp/src/arrow/compute/key_map.cc#L670
   
   
   ### Component(s)
   
   C++


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