Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Replace call to proto2::Arena::Destroy with delete.#1785

Merged
copybara-service[bot] merged 1 commit into
mastercel-expr/cel-cpp:masterfrom
test_829504896cel-expr/cel-cpp:test_829504896Copy head branch name to clipboard
Nov 11, 2025
Merged

Replace call to proto2::Arena::Destroy with delete.#1785
copybara-service[bot] merged 1 commit into
mastercel-expr/cel-cpp:masterfrom
test_829504896cel-expr/cel-cpp:test_829504896Copy head branch name to clipboard

Conversation

@copybara-service

Copy link
Copy Markdown

Replace call to proto2::Arena::Destroy with delete.

Arena::Destroy conditionally deletes the pointer if it was not allocated on an arena, but in this branch of the code we know the object was not allocated on an arena, making the check redundant.

`Arena::Destroy` conditionally `delete`s the pointer if it was not allocated on an arena, but in this branch of the code we know the object was not allocated on an arena, making the check redundant.

PiperOrigin-RevId: 831010142
@copybara-service copybara-service Bot merged commit b48a3b6 into master Nov 11, 2025
@copybara-service copybara-service Bot deleted the test_829504896 branch November 11, 2025 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.