Repository navigation
Minor fix: Fix protoleak. - #16101
Conversation
Signed-off-by: Kevin Baichoo <[email protected]>
|
/retest |
|
Retrying Azure Pipelines: |
|
/retest |
|
Retrying Azure Pipelines: |
|
I like the change but I think the description is wrong. The proto was only ever allocated on the stack, so using the set_allocated and release_ methods seems like the right way to prevent calls to |
|
Yep that's correct. We're dealing with raw pointers and ownership isn't explicit as using a smart ptr. |
|
Can I get a review @envoyproxy/maintainers ? This is a minor fix to a test. Thanks! |
Signed-off-by: Kevin Baichoo <[email protected]> Commit Message: Fixed proto leaks. Additional Description: Let protos manage memory themselves vs explicitly handling it with set_foo and release_foo Risk Level: Low Testing: NA Docs Changes: NA Release Notes: NA Platform Specific Features: NA Signed-off-by: Gokul Nair <[email protected]>
Signed-off-by: Kevin Baichoo [email protected]
Commit Message: Fixed proto leaks.
Additional Description: Let protos manage memory themselves vs explicitly handling it with
set_fooandrelease_fooRisk Level: Low
Testing: NA
Docs Changes: NA
Release Notes: NA
Platform Specific Features: NA