-
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
Fixed a couple of memory leaks in chip-im-initiator and echo-requester example apps #13216
Merged
msandstedt
merged 1 commit into
project-chip:master
from
harsha-rajendran:fix-memory-leaks-in-example-apps
Dec 22, 2021
Merged
Fixed a couple of memory leaks in chip-im-initiator and echo-requester example apps #13216
msandstedt
merged 1 commit into
project-chip:master
from
harsha-rajendran:fix-memory-leaks-in-example-apps
Dec 22, 2021
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
harsha-rajendran
force-pushed
the
fix-memory-leaks-in-example-apps
branch
from
December 22, 2021 14:47
e265a58
to
bbbb42b
Compare
pullapprove
bot
requested review from
andy31415,
anush-apple,
balducci-apple,
Byungjoo-Lee,
bzbarsky-apple,
carol-apple,
cecille,
chrisdecenzo,
chshu,
chulspro,
Damian-Nordic,
dhrishi,
electrocucaracha,
erjiaqing,
franck-apple,
gjc13,
hawk248,
jelderton,
jepenven-silabs,
jmartinez-silabs,
LuDuda,
lzgrablic02,
mrjerryjohns,
msandstedt and
mspang
December 22, 2021 14:49
pullapprove
bot
requested review from
pan-apple,
robszewczyk,
sagar-apple,
saurabhst,
selissia,
tcarmelveilleux,
tecimovic,
vijs,
vivien-apple,
wbschiller,
woody-apple,
xylophone21,
yufengwangca and
yunhanw-google
December 22, 2021 14:49
Damian-Nordic
approved these changes
Dec 22, 2021
bzbarsky-apple
approved these changes
Dec 22, 2021
Thanks for the quick approvals, @Damian-Nordic @bzbarsky-apple . Given that I am a first time contributor, I need a maintainer to approve workflows on my PR. Could either of you or any others approve this? TIA. |
msandstedt
approved these changes
Dec 22, 2021
saurabhst
approved these changes
Dec 22, 2021
PR #13216: Size comparison from feb07d5 to bbbb42b Full report (31 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
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.
Problem
A couple of memory leaks in chip-im-initiator and echo-requester examples
Change overview
Testing
chip-echo-Requester (BEFORE)
==3617== LEAK SUMMARY:
==3617== definitely lost: 88 bytes in 1 blocks
==3617== indirectly lost: 0 bytes in 0 blocks
==3617== possibly lost: 3,408 bytes in 29 blocks
==3617== still reachable: 92,413 bytes in 1,074 blocks
==3617== of which reachable via heuristic:
==3617== length64 : 768 bytes in 15 blocks
==3617== newarray : 1,728 bytes in 28 blocks
==3617== suppressed: 0 bytes in 0 blocks
==3617==
==3617== ERROR SUMMARY: 30 errors from 30 contexts (suppressed: 0 from 0)
chip-echo-Requester (AFTER)
==4242== LEAK SUMMARY:
==4242== definitely lost: 0 bytes in 0 blocks
==4242== indirectly lost: 0 bytes in 0 blocks
==4242== possibly lost: 3,400 bytes in 29 blocks
==4242== still reachable: 98,081 bytes in 1,095 blocks
==4242== of which reachable via heuristic:
==4242== length64 : 768 bytes in 15 blocks
==4242== newarray : 1,728 bytes in 28 blocks
==4242== suppressed: 0 bytes in 0 blocks
==4242==
==4242== ERROR SUMMARY: 29 errors from 29 contexts (suppressed: 0 from 0)
chip-im-initiator (BEFORE)
==4620== LEAK SUMMARY:
==4620== definitely lost: 1,344 bytes in 4 blocks
==4620== indirectly lost: 0 bytes in 0 blocks
==4620== possibly lost: 3,400 bytes in 29 blocks
==4620== still reachable: 110,488 bytes in 1,225 blocks
==4620== of which reachable via heuristic:
==4620== length64 : 768 bytes in 15 blocks
==4620== newarray : 1,728 bytes in 28 blocks
==4620== suppressed: 0 bytes in 0 blocks
==4620==
==4620== ERROR SUMMARY: 31 errors from 31 contexts (suppressed: 0 from 0)
chip-im-initiator (AFTER)
==11462== LEAK SUMMARY:
==11462== definitely lost: 0 bytes in 0 blocks
==11462== indirectly lost: 0 bytes in 0 blocks
==11462== possibly lost: 3,400 bytes in 29 blocks
==11462== still reachable: 97,745 bytes in 1,081 blocks
==11462== of which reachable via heuristic:
==11462== length64 : 768 bytes in 15 blocks
==11462== newarray : 1,728 bytes in 28 blocks
==11462== suppressed: 0 bytes in 0 blocks
==11462==
==11462== ERROR SUMMARY: 29 errors from 29 contexts (suppressed: 0 from 0)