Skip to content

Fix memory leak when fetching update history - #129

Merged
joshuasahayaarul merged 2 commits into
google:masterfrom
NozomiNetworks:Arc-403-cabbie-fix
Oct 30, 2023
Merged

joshuasahayaarul merged 2 commits into
google:masterfrom
NozomiNetworks:Arc-403-cabbie-fix

Conversation

@quentin-nozomi

@quentin-nozomi quentin-nozomi commented Oct 19, 2023 •

Copy link
Copy Markdown
Contributor

Some missing .Clear() caused a memory leak when fetching the update history on Windows.
During the conversion of the properties. For example toCategories(... was properly calling .Clear() but not some of the other conversions.

@joshuasahayaarul joshuasahayaarul left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, thank you for the PR. Sorry for the late review. Looks good, just one request.

Comment thread updatehistory/updatehistory_windows.go Resolved
@joshuasahayaarul
joshuasahayaarul merged commit b6b76ef into google:master Oct 30, 2023
copybara-service Bot pushed a commit that referenced this pull request Dec 18, 2023
FUTURE_COPYBARA_INTEGRATE_REVIEW=#129 from NozomiNetworks:Arc-403-cabbie-fix f3e8fe3
PiperOrigin-RevId: 590644901
copybara-service Bot pushed a commit that referenced this pull request Dec 18, 2023
FUTURE_COPYBARA_INTEGRATE_REVIEW=#129 from NozomiNetworks:Arc-403-cabbie-fix f3e8fe3
PiperOrigin-RevId: 590644901
copybara-service Bot pushed a commit that referenced this pull request Dec 18, 2023
FUTURE_COPYBARA_INTEGRATE_REVIEW=#129 from NozomiNetworks:Arc-403-cabbie-fix f3e8fe3
PiperOrigin-RevId: 590644780
copybara-service Bot pushed a commit that referenced this pull request Dec 18, 2023
FUTURE_COPYBARA_INTEGRATE_REVIEW=#129 from NozomiNetworks:Arc-403-cabbie-fix f3e8fe3
PiperOrigin-RevId: 590644780
copybara-service Bot pushed a commit that referenced this pull request Dec 18, 2023
FUTURE_COPYBARA_INTEGRATE_REVIEW=#129 from NozomiNetworks:Arc-403-cabbie-fix f3e8fe3
PiperOrigin-RevId: 590644780
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.

2 participants

⌂ 换网址