-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove a leak when quit() is used in interactive mode, the buffer hol… #22371
Merged
andy31415
merged 2 commits into
project-chip:master
from
vivien-apple:ChipTool_LeakQuitCommand
Sep 6, 2022
Merged
Remove a leak when quit() is used in interactive mode, the buffer hol… #22371
andy31415
merged 2 commits into
project-chip:master
from
vivien-apple:ChipTool_LeakQuitCommand
Sep 6, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ding the command not beeing freed
pullapprove
bot
requested review from
andy31415,
anush-apple,
arkq,
Byungjoo-Lee,
bzbarsky-apple,
carol-apple,
chrisdecenzo,
chshu,
chulspro,
Damian-Nordic,
dhrishi,
electrocucaracha,
erjiaqing,
franck-apple,
gjc13,
harimau-qirex,
harsha-rajendran,
hawk248,
isiu-apple,
jelderton,
jepenven-silabs,
jmartinez-silabs,
jtung-apple,
kpschoedel,
lazarkov,
LuDuda,
mlepage-google and
mrjerryjohns
September 2, 2022 16:12
pullapprove
bot
requested review from
mspang,
rgoliver,
saurabhst,
selissia,
tecimovic,
tehampson,
turon,
vijs,
wbschiller,
woody-apple and
xylophone21
September 2, 2022 16:12
PR #22371: Size comparison from 3522317 to f274e5d Increases (6 builds for bl602, cc13x2_26x2, linux, psoc6, telink)
Decreases (3 builds for cc13x2_26x2, efr32, psoc6)
Full report (45 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
examples/darwin-framework-tool/commands/interactive/InteractiveCommands.mm
Show resolved
Hide resolved
bzbarsky-apple
approved these changes
Sep 2, 2022
bzbarsky-apple
approved these changes
Sep 2, 2022
examples/darwin-framework-tool/commands/interactive/InteractiveCommands.mm
Show resolved
Hide resolved
PR #22371: Size comparison from 3522317 to fd3e932 Increases (6 builds for cc13x2_26x2)
Decreases (44 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, nrfconnect, psoc6, qpg, telink)
Full report (45 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
Accepted for 1.0: examples change |
andy31415
approved these changes
Sep 6, 2022
isiu-apple
pushed a commit
to isiu-apple/connectedhomeip
that referenced
this pull request
Sep 16, 2022
project-chip#22371) * Remove a leak when quit() is used in interactive mode, the buffer holding the command not beeing freed * Apply suggestions from code review Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…ding the command not beeing freed
Problem
When in interactive mode with
chip-tool
or thedarwin-framework-tool
the buffer holding the command "quit()" is not freed.That is not really a big deal for the SDK but it is annoying as it shows up as a leak when using tools to find leaks..
Change overview
Testing
The leak does not show up anymore with this PR.