You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2022/05/24 01:31:22 UTC

[GitHub] [accumulo] nosewings commented on pull request #2723: Match new[] with delete[]

nosewings commented on PR #2723:
URL: https://github.com/apache/accumulo/pull/2723#issuecomment-1135302631

   Yes, because the `LocalSubKey` constructor always calls the super-constructor with a `NULL` allocator, so `keyData` will always be initialized with `new[]`.
   
   I do think the memory management could stand to be improved, even if it's technically correct.


-- 
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: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org