Skip to content

Update alreadyCleared assignment in MergeField.#2724

Open
copybara-service[bot] wants to merge 1 commit intomasterfrom
test_900408138
Open

Update alreadyCleared assignment in MergeField.#2724
copybara-service[bot] wants to merge 1 commit intomasterfrom
test_900408138

Conversation

@copybara-service
Copy link
Copy Markdown

Update alreadyCleared assignment in MergeField.

The alreadyCleared flag is now set based on the return value of ClearPreviousOneof, which indicates whether a previous oneof field was cleared. This should fix potential leaks.

The `alreadyCleared` flag is now set based on the return value of `ClearPreviousOneof`, which indicates whether a previous oneof field was cleared. This should fix potential leaks.

PiperOrigin-RevId: 900408138
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants