Skip to content
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

[app] Fix DeferredAttributePersister memory leak #31075

Merged
merged 2 commits into from
Dec 21, 2023

Conversation

Damian-Nordic
Copy link
Contributor

ScopedMemoryBuffer's Release() method was used instead of Free(). Add CHECK_RETURN_VALUE annotation to the Release() method to prevent from making such a mistake in the future.

Copy link

github-actions bot commented Dec 18, 2023

PR #31075: Size comparison from 7cbac91 to ec0a7f8

Decreases (1 build for efr32)
platform target config section 7cbac91 ec0a7f8 change % change
efr32 lock-app BRD4161A+wf200 (read/write) 1114832 1114824 -8 -0.0
.text 923284 923276 -8 -0.0
Full report (72 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 7cbac91 ec0a7f8 change % change
bl602 lighting-app bl602 (read/write) 1417794 1417794 0 0.0
.bss 85160 85160 0 0.0
.data 9416 9416 0 0.0
.rodata 156912 156912 0 0.0
.text 1085664 1085664 0 0.0
bl602+mfd (read/write) 1432522 1432522 0 0.0
.bss 85328 85328 0 0.0
.data 9384 9384 0 0.0
.rodata 155872 155872 0 0.0
.text 1101288 1101288 0 0.0
bl602+rpc (read/write) 1465578 1465578 0 0.0
.bss 93192 93192 0 0.0
.data 9784 9784 0 0.0
.rodata 164536 164536 0 0.0
.text 1117408 1117408 0 0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1182811 1182811 0 0.0
.bss 11197 11197 0 0.0
.data 3584 3584 0 0.0
.rodata 106288 106288 0 0.0
.text 955366 955366 0 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1193943 1193943 0 0.0
.bss 11373 11373 0 0.0
.data 3568 3568 0 0.0
.rodata 105228 105228 0 0.0
.text 967430 967430 0 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1274823 1274823 0 0.0
.bss 19677 19677 0 0.0
.data 4144 4144 0 0.0
.rodata 121708 121708 0 0.0
.text 1030428 1030428 0 0.0
bl706-eth (read/write) 1002437 1002437 0 0.0
.bss 23772 23772 0 0.0
.data 3160 3160 0 0.0
.rodata 99620 99620 0 0.0
.text 748262 748262 0 0.0
bl706-wifi (read/write) 1240574 1240574 0 0.0
.bss 10641 10641 0 0.0
.data 3600 3600 0 0.0
.rodata 120600 120600 0 0.0
.text 975558 975558 0 0.0
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1152516 1152516 0 0.0
.bss 16392 16392 0 0.0
.data 4952 4952 0 0.0
.rodata 100292 100292 0 0.0
.text 948492 948492 0 0.0
bl702l+mfd (read only) 512 512 0 0.0
(read/write) 1163968 1163968 0 0.0
.bss 16568 16568 0 0.0
.data 4928 4928 0 0.0
.rodata 99232 99232 0 0.0
.text 960868 960868 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 771688 771688 0 0.0
(read/write) 168100 168100 0 0.0
.bss 90436 90436 0 0.0
.data 3460 3460 0 0.0
.rodata 89536 89536 0 0.0
.text 681884 681884 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 787792 787792 0 0.0
(read/write) 178328 178328 0 0.0
.bss 100612 100612 0 0.0
.data 3488 3488 0 0.0
.rodata 83792 83792 0 0.0
.text 703736 703736 0 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 776016 776016 0 0.0
(read/write) 172784 172784 0 0.0
.bss 95068 95068 0 0.0
.data 3488 3488 0 0.0
.rodata 110392 110392 0 0.0
.text 665360 665360 0 0.0
pump-app LP_EM_CC1354P10_6 (read only) 728632 728632 0 0.0
(read/write) 167096 167096 0 0.0
.bss 89208 89208 0 0.0
.data 3448 3448 0 0.0
.rodata 85112 85112 0 0.0
.text 643252 643252 0 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 714168 714168 0 0.0
(read/write) 167276 167276 0 0.0
.bss 89392 89392 0 0.0
.data 3444 3444 0 0.0
.rodata 80944 80944 0 0.0
.text 632956 632956 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 566994 566994 0 0.0
(read/write) 207652 207652 0 0.0
.bss 201116 201116 0 0.0
.data 1412 1412 0 0.0
.rodata 83938 83938 0 0.0
.text 480932 480932 0 0.0
lock CC3235SF_LAUNCHXL (read only) 620322 620322 0 0.0
(read/write) 208048 208048 0 0.0
.bss 201480 201480 0 0.0
.data 1448 1448 0 0.0
.rodata 105810 105810 0 0.0
.text 512388 512388 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 561007 561007 0 0.0
.app_xip_area 451257 451257 0 0.0
.bss 64664 64664 0 0.0
.data 660 660 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 543231 543231 0 0.0
.app_xip_area 428745 428745 0 0.0
.bss 69360 69360 0 0.0
.data 700 700 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 561967 561967 0 0.0
.app_xip_area 453673 453673 0 0.0
.bss 63280 63280 0 0.0
.data 588 588 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 557399 557399 0 0.0
.app_xip_area 445881 445881 0 0.0
.bss 66400 66400 0 0.0
.data 696 696 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1017020 1017020 0 0.0
.bss 172600 172600 0 0.0
.data 2688 2688 0 0.0
.text 841712 841712 0 0.0
BRD4187C (read/write) 1100956 1100956 0 0.0
.bss 196204 196204 0 0.0
.data 3296 3296 0 0.0
.text 901436 901436 0 0.0
lock-app BRD4161A+wf200 (read/write) 1114832 1114824 -8 -0.0
.bss 188816 188816 0 0.0
.data 2712 2712 0 0.0
.text 923284 923276 -8 -0.0
window-app BRD4187C (read/write) 1135744 1135744 0 0.0
.bss 168236 168236 0 0.0
.data 3168 3168 0 0.0
.text 964320 964320 0 0.0
esp32 all-clusters-app c3devkit (read only) 1137734 1137734 0 0.0
(read/write) 1671524 1671524 0 0.0
.dram0.bss 72872 72872 0 0.0
.dram0.data 12988 12988 0 0.0
.flash.rodata 241792 241792 0 0.0
.flash.text 1137734 1137734 0 0.0
.iram0.text 75694 75694 0 0.0
m5stack (read only) 1182731 1182731 0 0.0
(read/write) 520716 520716 0 0.0
.dram0.bss 79520 79520 0 0.0
.dram0.data 34004 34004 0 0.0
.flash.rodata 272828 272828 0 0.0
.flash.text 1177347 1177347 0 0.0
.iram0.text 123907 123907 0 0.0
k32w contact k32w0+release (read only) 605192 605192 0 0.0
(read/write) 81896 81896 0 0.0
.bss 69744 69744 0 0.0
.data 2168 2168 0 0.0
.text 604656 604656 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 690656 690656 0 0.0
.bss 67600 67600 0 0.0
.data 2716 2716 0 0.0
.text 576864 576864 0 0.0
light k32w0+release (read only) 594880 594880 0 0.0
(read/write) 79112 79112 0 0.0
.bss 67008 67008 0 0.0
.data 2120 2120 0 0.0
.text 594344 594344 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 782468 782468 0 0.0
.bss 77276 77276 0 0.0
.data 1928 1928 0 0.0
.text 659808 659808 0 0.0
lock k32w0+release (read only) 576296 576296 0 0.0
(read/write) 79376 79376 0 0.0
.bss 67296 67296 0 0.0
.data 2096 2096 0 0.0
.text 575760 575760 0 0.0
linux air-purifier-app debug (read only) 2526309 2526309 0 0.0
(read/write) 127240 127240 0 0.0
.bss 46944 46944 0 0.0
.data 1472 1472 0 0.0
.data.rel.ro 72824 72824 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 179336 179336 0 0.0
.text 2171493 2171493 0 0.0
all-clusters-app debug (read only) 5413841 5413841 0 0.0
(read/write) 455080 455080 0 0.0
.bss 131632 131632 0 0.0
.data 3840 3840 0 0.0
.data.rel.ro 312360 312360 0 0.0
.dynamic 624 624 0 0.0
.got 5352 5352 0 0.0
.init 27 27 0 0.0
.init_array 1264 1264 0 0.0
.rodata 312124 312124 0 0.0
.text 4691923 4691923 0 0.0
all-clusters-minimal-app debug (read only) 4953377 4953377 0 0.0
(read/write) 234720 234720 0 0.0
.bss 127856 127856 0 0.0
.data 3776 3776 0 0.0
.data.rel.ro 95960 95960 0 0.0
.dynamic 624 624 0 0.0
.got 5312 5312 0 0.0
.init 27 27 0 0.0
.init_array 1160 1160 0 0.0
.rodata 272845 272845 0 0.0
.text 4447987 4447987 0 0.0
bridge-app debug (read only) 4417105 4417105 0 0.0
(read/write) 215960 215960 0 0.0
.bss 119224 119224 0 0.0
.data 4704 4704 0 0.0
.data.rel.ro 85280 85280 0 0.0
.dynamic 624 624 0 0.0
.got 5280 5280 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 219157 219157 0 0.0
.text 3979299 3979299 0 0.0
chip-tool debug (read only) 11687337 11687337 0 0.0
(read/write) 504048 504048 0 0.0
.bss 94200 94200 0 0.0
.data 4994 4994 0 0.0
.data.rel.ro 397616 397616 0 0.0
.dynamic 624 624 0 0.0
.got 5784 5784 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 424681 424681 0 0.0
.text 10572771 10572771 0 0.0
chip-tool-ipv6only arm64 (read only) 11414464 11414464 0 0.0
(read/write) 572232 572232 0 0.0
.bss 103448 103448 0 0.0
.data 4288 4288 0 0.0
.data.rel.ro 436456 436456 0 0.0
.dynamic 512 512 0 0.0
.got 19816 19816 0 0.0
.init 24 24 0 0.0
.init_array 248 248 0 0.0
.rodata 345048 345048 0 0.0
.text 10201464 10201464 0 0.0
lighting-app debug+rpc+ui (read only) 5302921 5302921 0 0.0
(read/write) 225032 225032 0 0.0
.bss 119360 119360 0 0.0
.data 4416 4416 0 0.0
.data.rel.ro 93696 93696 0 0.0
.dynamic 672 672 0 0.0
.got 5896 5896 0 0.0
.init 27 27 0 0.0
.init_array 960 960 0 0.0
.rodata 340372 340372 0 0.0
.text 4717683 4717683 0 0.0
lock-app debug (read only) 4502169 4502169 0 0.0
(read/write) 203648 203648 0 0.0
.bss 113760 113760 0 0.0
.data 3648 3648 0 0.0
.data.rel.ro 79512 79512 0 0.0
.dynamic 624 624 0 0.0
.got 5232 5232 0 0.0
.init 27 27 0 0.0
.init_array 856 856 0 0.0
.rodata 247029 247029 0 0.0
.text 4045027 4045027 0 0.0
ota-provider-app debug (read only) 4166297 4166297 0 0.0
(read/write) 192728 192728 0 0.0
.bss 113632 113632 0 0.0
.data 3904 3904 0 0.0
.data.rel.ro 69296 69296 0 0.0
.dynamic 624 624 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 720 720 0 0.0
.rodata 201301 201301 0 0.0
.text 3773043 3773043 0 0.0
ota-requestor-app debug (read only) 4255785 4255785 0 0.0
(read/write) 197040 197040 0 0.0
.bss 114656 114656 0 0.0
.data 4176 4176 0 0.0
.data.rel.ro 72288 72288 0 0.0
.dynamic 624 624 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 776 776 0 0.0
.rodata 205141 205141 0 0.0
.text 3854291 3854291 0 0.0
shell debug (read only) 2788697 2788697 0 0.0
(read/write) 152272 152272 0 0.0
.bss 62312 62312 0 0.0
.data 768 768 0 0.0
.data.rel.ro 83400 83400 0 0.0
.dynamic 592 592 0 0.0
.got 4104 4104 0 0.0
.init 27 27 0 0.0
.init_array 1088 1088 0 0.0
.rodata 181920 181920 0 0.0
.text 2435682 2435682 0 0.0
thermostat-no-ble arm64 (read only) 4405664 4405664 0 0.0
(read/write) 244832 244832 0 0.0
.bss 122232 122232 0 0.0
.data 2784 2784 0 0.0
.data.rel.ro 102352 102352 0 0.0
.dynamic 512 512 0 0.0
.got 12008 12008 0 0.0
.init 24 24 0 0.0
.init_array 424 424 0 0.0
.rodata 162332 162332 0 0.0
.text 3902888 3902888 0 0.0
tv-app debug (read only) 5386385 5386385 0 0.0
(read/write) 349120 349120 0 0.0
.bss 244544 244544 0 0.0
.data 4992 4992 0 0.0
.data.rel.ro 92280 92280 0 0.0
.dynamic 624 624 0 0.0
.got 5520 5520 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 272981 272981 0 0.0
.text 4875475 4875475 0 0.0
tv-casting-app debug (read only) 9566777 9566777 0 0.0
(read/write) 338368 338368 0 0.0
.bss 156352 156352 0 0.0
.data 2464 2464 0 0.0
.data.rel.ro 172696 172696 0 0.0
.dynamic 624 624 0 0.0
.got 5064 5064 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 362888 362888 0 0.0
.text 8740035 8740035 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2525992 2525992 0 0.0
.bss 220216 220216 0 0.0
.data 5144 5144 0 0.0
.text 1488676 1488676 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1067684 1067684 0 0.0
bss 129393 129393 0 0.0
rodata 105396 105396 0 0.0
text 785324 785324 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1193776 1193776 0 0.0
bss 121603 121603 0 0.0
rodata 139156 139156 0 0.0
text 782692 782692 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1046696 1046696 0 0.0
bss 129348 129348 0 0.0
rodata 99448 99448 0 0.0
text 770272 770272 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 835864 835864 0 0.0
(read/write) 1750980 1750980 0 0.0
.bss 195004 195004 0 0.0
.data 2472 2472 0 0.0
.text 1545116 1545116 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 837912 837912 0 0.0
(read/write) 1705940 1705940 0 0.0
.bss 192956 192956 0 0.0
.data 2472 2472 0 0.0
.text 1502124 1502124 0 0.0
light cy8ckit_062s2_43012 (read only) 844600 844600 0 0.0
(read/write) 1630924 1630924 0 0.0
.bss 186380 186380 0 0.0
.data 2360 2360 0 0.0
.text 1433796 1433796 0 0.0
lock cy8ckit_062s2_43012 (read only) 817480 817480 0 0.0
(read/write) 1657812 1657812 0 0.0
.bss 213476 213476 0 0.0
.data 2384 2384 0 0.0
.text 1433564 1433564 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1116572 1116572 0 0.0
.bss 101216 101216 0 0.0
.data 740 740 0 0.0
.text 628948 628948 0 0.0
lock-app qpg6105+debug (read/write) 1080564 1080564 0 0.0
.bss 97512 97512 0 0.0
.data 784 784 0 0.0
.text 592944 592944 0 0.0
telink air-quality-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 821354 821354 0 0.0
bss 55064 55064 0 0.0
text 613712 613712 0 0.0
all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1086576 1086576 0 0.0
bss 100404 100404 0 0.0
text 767102 767102 0 0.0
all-clusters-minimal-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 1084012 1084012 0 0.0
bss 109764 109764 0 0.0
text 753344 753344 0 0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 934644 934644 0 0.0
bss 94272 94272 0 0.0
text 646762 646762 0 0.0
contact-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 821590 821590 0 0.0
bss 55108 55108 0 0.0
text 614082 614082 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a (read only) 4 4 0 0.0
(read/write) 978676 978676 0 0.0
bss 79092 79092 0 0.0
text 694172 694172 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1092992 1092992 0 0.0
bss 99836 99836 0 0.0
text 769654 769654 0 0.0
lock-app-dfu tlsr9528a (read only) 4 4 0 0.0
(read/write) 965308 965308 0 0.0
bss 97356 97356 0 0.0
text 647848 647848 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 948320 948320 0 0.0
bss 92380 92380 0 0.0
text 662870 662870 0 0.0
pump-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 880388 880388 0 0.0
bss 69084 69084 0 0.0
text 622092 622092 0 0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 821000 821000 0 0.0
bss 57320 57320 0 0.0
text 588968 588968 0 0.0
shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 705600 705600 0 0.0
bss 73588 73588 0 0.0
text 462094 462094 0 0.0
smoke_co_alarm-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 823326 823326 0 0.0
bss 55244 55244 0 0.0
text 616826 616826 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 878093 878093 0 0.0
bss 60796 60796 0 0.0
text 630708 630708 0 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 845372 845372 0 0.0
bss 57616 57616 0 0.0
text 607434 607434 0 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 839648 839648 0 0.0
bss 57968 57968 0 0.0
text 601468 601468 0 0.0

Copy link

github-actions bot commented Dec 18, 2023

PR #31075: Size comparison from 9310a37 to dd55b52

Decreases (1 build for efr32)
platform target config section 9310a37 dd55b52 change % change
efr32 lock-app BRD4161A+wf200 (read/write) 1114832 1114824 -8 -0.0
.text 923284 923276 -8 -0.0
Full report (72 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 9310a37 dd55b52 change % change
bl602 lighting-app bl602 (read/write) 1417794 1417794 0 0.0
.bss 85160 85160 0 0.0
.data 9416 9416 0 0.0
.rodata 156912 156912 0 0.0
.text 1085664 1085664 0 0.0
bl602+mfd (read/write) 1432522 1432522 0 0.0
.bss 85328 85328 0 0.0
.data 9384 9384 0 0.0
.rodata 155872 155872 0 0.0
.text 1101288 1101288 0 0.0
bl602+rpc (read/write) 1465578 1465578 0 0.0
.bss 93192 93192 0 0.0
.data 9784 9784 0 0.0
.rodata 164536 164536 0 0.0
.text 1117408 1117408 0 0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1182811 1182811 0 0.0
.bss 11197 11197 0 0.0
.data 3584 3584 0 0.0
.rodata 106288 106288 0 0.0
.text 955366 955366 0 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1193943 1193943 0 0.0
.bss 11373 11373 0 0.0
.data 3568 3568 0 0.0
.rodata 105228 105228 0 0.0
.text 967430 967430 0 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1274823 1274823 0 0.0
.bss 19677 19677 0 0.0
.data 4144 4144 0 0.0
.rodata 121708 121708 0 0.0
.text 1030428 1030428 0 0.0
bl706-eth (read/write) 1002437 1002437 0 0.0
.bss 23772 23772 0 0.0
.data 3160 3160 0 0.0
.rodata 99620 99620 0 0.0
.text 748262 748262 0 0.0
bl706-wifi (read/write) 1240574 1240574 0 0.0
.bss 10641 10641 0 0.0
.data 3600 3600 0 0.0
.rodata 120600 120600 0 0.0
.text 975558 975558 0 0.0
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1152516 1152516 0 0.0
.bss 16392 16392 0 0.0
.data 4952 4952 0 0.0
.rodata 100292 100292 0 0.0
.text 948492 948492 0 0.0
bl702l+mfd (read only) 512 512 0 0.0
(read/write) 1163968 1163968 0 0.0
.bss 16568 16568 0 0.0
.data 4928 4928 0 0.0
.rodata 99232 99232 0 0.0
.text 960868 960868 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 771688 771688 0 0.0
(read/write) 168100 168100 0 0.0
.bss 90436 90436 0 0.0
.data 3460 3460 0 0.0
.rodata 89536 89536 0 0.0
.text 681884 681884 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 787792 787792 0 0.0
(read/write) 178328 178328 0 0.0
.bss 100612 100612 0 0.0
.data 3488 3488 0 0.0
.rodata 83792 83792 0 0.0
.text 703736 703736 0 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 776016 776016 0 0.0
(read/write) 172784 172784 0 0.0
.bss 95068 95068 0 0.0
.data 3488 3488 0 0.0
.rodata 110392 110392 0 0.0
.text 665360 665360 0 0.0
pump-app LP_EM_CC1354P10_6 (read only) 728632 728632 0 0.0
(read/write) 167096 167096 0 0.0
.bss 89208 89208 0 0.0
.data 3448 3448 0 0.0
.rodata 85112 85112 0 0.0
.text 643252 643252 0 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 714168 714168 0 0.0
(read/write) 167276 167276 0 0.0
.bss 89392 89392 0 0.0
.data 3444 3444 0 0.0
.rodata 80944 80944 0 0.0
.text 632956 632956 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 566994 566994 0 0.0
(read/write) 207652 207652 0 0.0
.bss 201116 201116 0 0.0
.data 1412 1412 0 0.0
.rodata 83938 83938 0 0.0
.text 480932 480932 0 0.0
lock CC3235SF_LAUNCHXL (read only) 620322 620322 0 0.0
(read/write) 208048 208048 0 0.0
.bss 201480 201480 0 0.0
.data 1448 1448 0 0.0
.rodata 105810 105810 0 0.0
.text 512388 512388 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 561007 561007 0 0.0
.app_xip_area 451257 451257 0 0.0
.bss 64664 64664 0 0.0
.data 660 660 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 543231 543231 0 0.0
.app_xip_area 428745 428745 0 0.0
.bss 69360 69360 0 0.0
.data 700 700 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 561967 561967 0 0.0
.app_xip_area 453673 453673 0 0.0
.bss 63280 63280 0 0.0
.data 588 588 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 557399 557399 0 0.0
.app_xip_area 445881 445881 0 0.0
.bss 66400 66400 0 0.0
.data 696 696 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1017020 1017020 0 0.0
.bss 172600 172600 0 0.0
.data 2688 2688 0 0.0
.text 841712 841712 0 0.0
BRD4187C (read/write) 1100956 1100956 0 0.0
.bss 196204 196204 0 0.0
.data 3296 3296 0 0.0
.text 901436 901436 0 0.0
lock-app BRD4161A+wf200 (read/write) 1114832 1114824 -8 -0.0
.bss 188816 188816 0 0.0
.data 2712 2712 0 0.0
.text 923284 923276 -8 -0.0
window-app BRD4187C (read/write) 1135744 1135744 0 0.0
.bss 168236 168236 0 0.0
.data 3168 3168 0 0.0
.text 964320 964320 0 0.0
esp32 all-clusters-app c3devkit (read only) 1137734 1137734 0 0.0
(read/write) 1671524 1671524 0 0.0
.dram0.bss 72872 72872 0 0.0
.dram0.data 12988 12988 0 0.0
.flash.rodata 241792 241792 0 0.0
.flash.text 1137734 1137734 0 0.0
.iram0.text 75694 75694 0 0.0
m5stack (read only) 1182731 1182731 0 0.0
(read/write) 520716 520716 0 0.0
.dram0.bss 79520 79520 0 0.0
.dram0.data 34004 34004 0 0.0
.flash.rodata 272828 272828 0 0.0
.flash.text 1177347 1177347 0 0.0
.iram0.text 123907 123907 0 0.0
k32w contact k32w0+release (read only) 605192 605192 0 0.0
(read/write) 81896 81896 0 0.0
.bss 69744 69744 0 0.0
.data 2168 2168 0 0.0
.text 604656 604656 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 690656 690656 0 0.0
.bss 67600 67600 0 0.0
.data 2716 2716 0 0.0
.text 576864 576864 0 0.0
light k32w0+release (read only) 594880 594880 0 0.0
(read/write) 79112 79112 0 0.0
.bss 67008 67008 0 0.0
.data 2120 2120 0 0.0
.text 594344 594344 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 782468 782468 0 0.0
.bss 77276 77276 0 0.0
.data 1928 1928 0 0.0
.text 659808 659808 0 0.0
lock k32w0+release (read only) 576296 576296 0 0.0
(read/write) 79376 79376 0 0.0
.bss 67296 67296 0 0.0
.data 2096 2096 0 0.0
.text 575760 575760 0 0.0
linux air-purifier-app debug (read only) 2526309 2526309 0 0.0
(read/write) 127240 127240 0 0.0
.bss 46944 46944 0 0.0
.data 1472 1472 0 0.0
.data.rel.ro 72824 72824 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 179336 179336 0 0.0
.text 2171493 2171493 0 0.0
all-clusters-app debug (read only) 5413841 5413841 0 0.0
(read/write) 455080 455080 0 0.0
.bss 131632 131632 0 0.0
.data 3840 3840 0 0.0
.data.rel.ro 312360 312360 0 0.0
.dynamic 624 624 0 0.0
.got 5352 5352 0 0.0
.init 27 27 0 0.0
.init_array 1264 1264 0 0.0
.rodata 312124 312124 0 0.0
.text 4691923 4691923 0 0.0
all-clusters-minimal-app debug (read only) 4953377 4953377 0 0.0
(read/write) 234720 234720 0 0.0
.bss 127856 127856 0 0.0
.data 3776 3776 0 0.0
.data.rel.ro 95960 95960 0 0.0
.dynamic 624 624 0 0.0
.got 5312 5312 0 0.0
.init 27 27 0 0.0
.init_array 1160 1160 0 0.0
.rodata 272845 272845 0 0.0
.text 4447987 4447987 0 0.0
bridge-app debug (read only) 4417105 4417105 0 0.0
(read/write) 215960 215960 0 0.0
.bss 119224 119224 0 0.0
.data 4704 4704 0 0.0
.data.rel.ro 85280 85280 0 0.0
.dynamic 624 624 0 0.0
.got 5280 5280 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 219157 219157 0 0.0
.text 3979299 3979299 0 0.0
chip-tool debug (read only) 11687081 11687081 0 0.0
(read/write) 504048 504048 0 0.0
.bss 94200 94200 0 0.0
.data 4994 4994 0 0.0
.data.rel.ro 397616 397616 0 0.0
.dynamic 624 624 0 0.0
.got 5784 5784 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 424681 424681 0 0.0
.text 10572515 10572515 0 0.0
chip-tool-ipv6only arm64 (read only) 11414256 11414256 0 0.0
(read/write) 572440 572440 0 0.0
.bss 103448 103448 0 0.0
.data 4288 4288 0 0.0
.data.rel.ro 436456 436456 0 0.0
.dynamic 512 512 0 0.0
.got 19816 19816 0 0.0
.init 24 24 0 0.0
.init_array 248 248 0 0.0
.rodata 345048 345048 0 0.0
.text 10201256 10201256 0 0.0
lighting-app debug+rpc+ui (read only) 5302921 5302921 0 0.0
(read/write) 225032 225032 0 0.0
.bss 119360 119360 0 0.0
.data 4416 4416 0 0.0
.data.rel.ro 93696 93696 0 0.0
.dynamic 672 672 0 0.0
.got 5896 5896 0 0.0
.init 27 27 0 0.0
.init_array 960 960 0 0.0
.rodata 340372 340372 0 0.0
.text 4717683 4717683 0 0.0
lock-app debug (read only) 4502169 4502169 0 0.0
(read/write) 203648 203648 0 0.0
.bss 113760 113760 0 0.0
.data 3648 3648 0 0.0
.data.rel.ro 79512 79512 0 0.0
.dynamic 624 624 0 0.0
.got 5232 5232 0 0.0
.init 27 27 0 0.0
.init_array 856 856 0 0.0
.rodata 247029 247029 0 0.0
.text 4045027 4045027 0 0.0
ota-provider-app debug (read only) 4166297 4166297 0 0.0
(read/write) 192728 192728 0 0.0
.bss 113632 113632 0 0.0
.data 3904 3904 0 0.0
.data.rel.ro 69296 69296 0 0.0
.dynamic 624 624 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 720 720 0 0.0
.rodata 201301 201301 0 0.0
.text 3773043 3773043 0 0.0
ota-requestor-app debug (read only) 4255785 4255785 0 0.0
(read/write) 197040 197040 0 0.0
.bss 114656 114656 0 0.0
.data 4176 4176 0 0.0
.data.rel.ro 72288 72288 0 0.0
.dynamic 624 624 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 776 776 0 0.0
.rodata 205141 205141 0 0.0
.text 3854291 3854291 0 0.0
shell debug (read only) 2788697 2788697 0 0.0
(read/write) 152272 152272 0 0.0
.bss 62312 62312 0 0.0
.data 768 768 0 0.0
.data.rel.ro 83400 83400 0 0.0
.dynamic 592 592 0 0.0
.got 4104 4104 0 0.0
.init 27 27 0 0.0
.init_array 1088 1088 0 0.0
.rodata 181920 181920 0 0.0
.text 2435682 2435682 0 0.0
thermostat-no-ble arm64 (read only) 4405664 4405664 0 0.0
(read/write) 244832 244832 0 0.0
.bss 122232 122232 0 0.0
.data 2784 2784 0 0.0
.data.rel.ro 102352 102352 0 0.0
.dynamic 512 512 0 0.0
.got 12008 12008 0 0.0
.init 24 24 0 0.0
.init_array 424 424 0 0.0
.rodata 162332 162332 0 0.0
.text 3902888 3902888 0 0.0
tv-app debug (read only) 5386385 5386385 0 0.0
(read/write) 349120 349120 0 0.0
.bss 244544 244544 0 0.0
.data 4992 4992 0 0.0
.data.rel.ro 92280 92280 0 0.0
.dynamic 624 624 0 0.0
.got 5520 5520 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 272981 272981 0 0.0
.text 4875475 4875475 0 0.0
tv-casting-app debug (read only) 9566521 9566521 0 0.0
(read/write) 338368 338368 0 0.0
.bss 156352 156352 0 0.0
.data 2464 2464 0 0.0
.data.rel.ro 172696 172696 0 0.0
.dynamic 624 624 0 0.0
.got 5064 5064 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 362888 362888 0 0.0
.text 8739779 8739779 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2525992 2525992 0 0.0
.bss 220216 220216 0 0.0
.data 5144 5144 0 0.0
.text 1488676 1488676 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1067684 1067684 0 0.0
bss 129393 129393 0 0.0
rodata 105396 105396 0 0.0
text 785324 785324 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1193776 1193776 0 0.0
bss 121603 121603 0 0.0
rodata 139156 139156 0 0.0
text 782692 782692 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1046696 1046696 0 0.0
bss 129348 129348 0 0.0
rodata 99448 99448 0 0.0
text 770272 770272 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 835864 835864 0 0.0
(read/write) 1750980 1750980 0 0.0
.bss 195004 195004 0 0.0
.data 2472 2472 0 0.0
.text 1545116 1545116 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 837912 837912 0 0.0
(read/write) 1705940 1705940 0 0.0
.bss 192956 192956 0 0.0
.data 2472 2472 0 0.0
.text 1502124 1502124 0 0.0
light cy8ckit_062s2_43012 (read only) 844600 844600 0 0.0
(read/write) 1630924 1630924 0 0.0
.bss 186380 186380 0 0.0
.data 2360 2360 0 0.0
.text 1433796 1433796 0 0.0
lock cy8ckit_062s2_43012 (read only) 817480 817480 0 0.0
(read/write) 1657812 1657812 0 0.0
.bss 213476 213476 0 0.0
.data 2384 2384 0 0.0
.text 1433564 1433564 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1116572 1116572 0 0.0
.bss 101216 101216 0 0.0
.data 740 740 0 0.0
.text 628948 628948 0 0.0
lock-app qpg6105+debug (read/write) 1080564 1080564 0 0.0
.bss 97512 97512 0 0.0
.data 784 784 0 0.0
.text 592944 592944 0 0.0
telink air-quality-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 821354 821354 0 0.0
bss 55064 55064 0 0.0
text 613712 613712 0 0.0
all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1086576 1086576 0 0.0
bss 100404 100404 0 0.0
text 767102 767102 0 0.0
all-clusters-minimal-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 1084012 1084012 0 0.0
bss 109764 109764 0 0.0
text 753344 753344 0 0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 934644 934644 0 0.0
bss 94272 94272 0 0.0
text 646762 646762 0 0.0
contact-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 821590 821590 0 0.0
bss 55108 55108 0 0.0
text 614082 614082 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a (read only) 4 4 0 0.0
(read/write) 978676 978676 0 0.0
bss 79092 79092 0 0.0
text 694172 694172 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1092992 1092992 0 0.0
bss 99836 99836 0 0.0
text 769654 769654 0 0.0
lock-app-dfu tlsr9528a (read only) 4 4 0 0.0
(read/write) 965308 965308 0 0.0
bss 97356 97356 0 0.0
text 647848 647848 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 948320 948320 0 0.0
bss 92380 92380 0 0.0
text 662870 662870 0 0.0
pump-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 880388 880388 0 0.0
bss 69084 69084 0 0.0
text 622092 622092 0 0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 821000 821000 0 0.0
bss 57320 57320 0 0.0
text 588968 588968 0 0.0
shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 705600 705600 0 0.0
bss 73588 73588 0 0.0
text 462094 462094 0 0.0
smoke_co_alarm-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 823326 823326 0 0.0
bss 55244 55244 0 0.0
text 616826 616826 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 878093 878093 0 0.0
bss 60796 60796 0 0.0
text 630708 630708 0 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 845372 845372 0 0.0
bss 57616 57616 0 0.0
text 607434 607434 0 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 839648 839648 0 0.0
bss 57968 57968 0 0.0
text 601468 601468 0 0.0

ScopedMemoryBuffer's Release() method was used instead of
Free(). Add CHECK_RETURN_VALUE annotation to the Release()
method to prevent from making such a mistake in the future.

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>
Copy link

github-actions bot commented Dec 20, 2023

PR #31075: Size comparison from ce32d11 to 0c072f3

Decreases (1 build for efr32)
platform target config section ce32d11 0c072f3 change % change
efr32 lock-app BRD4161A+wf200 (read/write) 1114848 1114840 -8 -0.0
.text 923300 923292 -8 -0.0
Full report (72 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section ce32d11 0c072f3 change % change
bl602 lighting-app bl602 (read/write) 1417794 1417794 0 0.0
.bss 85160 85160 0 0.0
.data 9416 9416 0 0.0
.rodata 156912 156912 0 0.0
.text 1085664 1085664 0 0.0
bl602+mfd (read/write) 1432522 1432522 0 0.0
.bss 85328 85328 0 0.0
.data 9384 9384 0 0.0
.rodata 155872 155872 0 0.0
.text 1101288 1101288 0 0.0
bl602+rpc (read/write) 1465578 1465578 0 0.0
.bss 93192 93192 0 0.0
.data 9784 9784 0 0.0
.rodata 164536 164536 0 0.0
.text 1117408 1117408 0 0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1182811 1182811 0 0.0
.bss 11197 11197 0 0.0
.data 3584 3584 0 0.0
.rodata 106288 106288 0 0.0
.text 955366 955366 0 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1193943 1193943 0 0.0
.bss 11373 11373 0 0.0
.data 3568 3568 0 0.0
.rodata 105228 105228 0 0.0
.text 967430 967430 0 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1274823 1274823 0 0.0
.bss 19677 19677 0 0.0
.data 4144 4144 0 0.0
.rodata 121708 121708 0 0.0
.text 1030428 1030428 0 0.0
bl706-eth (read/write) 1002437 1002437 0 0.0
.bss 23772 23772 0 0.0
.data 3160 3160 0 0.0
.rodata 99620 99620 0 0.0
.text 748262 748262 0 0.0
bl706-wifi (read/write) 1240574 1240574 0 0.0
.bss 10641 10641 0 0.0
.data 3600 3600 0 0.0
.rodata 120600 120600 0 0.0
.text 975558 975558 0 0.0
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1152516 1152516 0 0.0
.bss 16392 16392 0 0.0
.data 4952 4952 0 0.0
.rodata 100292 100292 0 0.0
.text 948492 948492 0 0.0
bl702l+mfd (read only) 512 512 0 0.0
(read/write) 1163968 1163968 0 0.0
.bss 16568 16568 0 0.0
.data 4928 4928 0 0.0
.rodata 99232 99232 0 0.0
.text 960868 960868 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 771712 771712 0 0.0
(read/write) 168100 168100 0 0.0
.bss 90436 90436 0 0.0
.data 3460 3460 0 0.0
.rodata 89536 89536 0 0.0
.text 681908 681908 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 787816 787816 0 0.0
(read/write) 178328 178328 0 0.0
.bss 100612 100612 0 0.0
.data 3488 3488 0 0.0
.rodata 83792 83792 0 0.0
.text 703760 703760 0 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 776032 776032 0 0.0
(read/write) 172784 172784 0 0.0
.bss 95068 95068 0 0.0
.data 3488 3488 0 0.0
.rodata 110392 110392 0 0.0
.text 665376 665376 0 0.0
pump-app LP_EM_CC1354P10_6 (read only) 728648 728648 0 0.0
(read/write) 167096 167096 0 0.0
.bss 89208 89208 0 0.0
.data 3448 3448 0 0.0
.rodata 85112 85112 0 0.0
.text 643268 643268 0 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 714184 714184 0 0.0
(read/write) 167276 167276 0 0.0
.bss 89392 89392 0 0.0
.data 3444 3444 0 0.0
.rodata 80944 80944 0 0.0
.text 632972 632972 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 566994 566994 0 0.0
(read/write) 207652 207652 0 0.0
.bss 201116 201116 0 0.0
.data 1412 1412 0 0.0
.rodata 83938 83938 0 0.0
.text 480932 480932 0 0.0
lock CC3235SF_LAUNCHXL (read only) 620322 620322 0 0.0
(read/write) 208048 208048 0 0.0
.bss 201480 201480 0 0.0
.data 1448 1448 0 0.0
.rodata 105810 105810 0 0.0
.text 512388 512388 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 561023 561023 0 0.0
.app_xip_area 451273 451273 0 0.0
.bss 64664 64664 0 0.0
.data 660 660 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 543247 543247 0 0.0
.app_xip_area 428761 428761 0 0.0
.bss 69360 69360 0 0.0
.data 700 700 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 561983 561983 0 0.0
.app_xip_area 453689 453689 0 0.0
.bss 63280 63280 0 0.0
.data 588 588 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 557423 557423 0 0.0
.app_xip_area 445905 445905 0 0.0
.bss 66400 66400 0 0.0
.data 696 696 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1017020 1017020 0 0.0
.bss 172600 172600 0 0.0
.data 2688 2688 0 0.0
.text 841712 841712 0 0.0
BRD4187C (read/write) 1100980 1100980 0 0.0
.bss 196204 196204 0 0.0
.data 3296 3296 0 0.0
.text 901460 901460 0 0.0
lock-app BRD4161A+wf200 (read/write) 1114848 1114840 -8 -0.0
.bss 188816 188816 0 0.0
.data 2712 2712 0 0.0
.text 923300 923292 -8 -0.0
window-app BRD4187C (read/write) 1135744 1135744 0 0.0
.bss 168236 168236 0 0.0
.data 3168 3168 0 0.0
.text 964320 964320 0 0.0
esp32 all-clusters-app c3devkit (read only) 1137758 1137758 0 0.0
(read/write) 1671564 1671564 0 0.0
.dram0.bss 72872 72872 0 0.0
.dram0.data 12988 12988 0 0.0
.flash.rodata 241832 241832 0 0.0
.flash.text 1137758 1137758 0 0.0
.iram0.text 75694 75694 0 0.0
m5stack (read only) 1182763 1182763 0 0.0
(read/write) 520756 520756 0 0.0
.dram0.bss 79520 79520 0 0.0
.dram0.data 34004 34004 0 0.0
.flash.rodata 272868 272868 0 0.0
.flash.text 1177379 1177379 0 0.0
.iram0.text 123907 123907 0 0.0
k32w contact k32w0+release (read only) 605208 605208 0 0.0
(read/write) 81896 81896 0 0.0
.bss 69744 69744 0 0.0
.data 2168 2168 0 0.0
.text 604672 604672 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 690680 690680 0 0.0
.bss 67600 67600 0 0.0
.data 2716 2716 0 0.0
.text 576888 576888 0 0.0
light k32w0+release (read only) 594912 594912 0 0.0
(read/write) 79112 79112 0 0.0
.bss 67008 67008 0 0.0
.data 2120 2120 0 0.0
.text 594376 594376 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 782484 782484 0 0.0
.bss 77276 77276 0 0.0
.data 1928 1928 0 0.0
.text 659824 659824 0 0.0
lock k32w0+release (read only) 576312 576312 0 0.0
(read/write) 79376 79376 0 0.0
.bss 67296 67296 0 0.0
.data 2096 2096 0 0.0
.text 575776 575776 0 0.0
linux air-purifier-app debug (read only) 2525829 2525829 0 0.0
(read/write) 127208 127208 0 0.0
.bss 46944 46944 0 0.0
.data 1472 1472 0 0.0
.data.rel.ro 72824 72824 0 0.0
.dynamic 608 608 0 0.0
.got 4552 4552 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 179240 179240 0 0.0
.text 2171285 2171285 0 0.0
all-clusters-app debug (read only) 5415297 5415297 0 0.0
(read/write) 456232 456232 0 0.0
.bss 131632 131632 0 0.0
.data 3840 3840 0 0.0
.data.rel.ro 313512 313512 0 0.0
.dynamic 624 624 0 0.0
.got 5336 5336 0 0.0
.init 27 27 0 0.0
.init_array 1264 1264 0 0.0
.rodata 312540 312540 0 0.0
.text 4692131 4692131 0 0.0
all-clusters-minimal-app debug (read only) 4952889 4952889 0 0.0
(read/write) 234688 234688 0 0.0
.bss 127856 127856 0 0.0
.data 3776 3776 0 0.0
.data.rel.ro 95960 95960 0 0.0
.dynamic 624 624 0 0.0
.got 5296 5296 0 0.0
.init 27 27 0 0.0
.init_array 1160 1160 0 0.0
.rodata 272749 272749 0 0.0
.text 4447779 4447779 0 0.0
bridge-app debug (read only) 4416625 4416625 0 0.0
(read/write) 215928 215928 0 0.0
.bss 119224 119224 0 0.0
.data 4704 4704 0 0.0
.data.rel.ro 85280 85280 0 0.0
.dynamic 624 624 0 0.0
.got 5264 5264 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 219061 219061 0 0.0
.text 3979091 3979091 0 0.0
chip-tool debug (read only) 1172507 1172507 0 0.0
(read/write) 505840 505840 0 0.0
.bss 94200 94200 0 0.0
.data 4994 4994 0 0.0
.data.rel.ro 399408 399408 0 0.0
.dynamic 624 624 0 0.0
.got 5784 5784 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 425833 425833 0 0.0
.text 10606835 10606835 0 0.0
chip-tool-ipv6only arm64 (read only) 11448848 11448848 0 0.0
(read/write) 574664 574664 0 0.0
.bss 103448 103448 0 0.0
.data 4288 4288 0 0.0
.data.rel.ro 438304 438304 0 0.0
.dynamic 512 512 0 0.0
.got 19856 19856 0 0.0
.init 24 24 0 0.0
.init_array 248 248 0 0.0
.rodata 346152 346152 0 0.0
.text 10232056 10232056 0 0.0
lighting-app debug+rpc+ui (read only) 5302441 5302441 0 0.0
(read/write) 225000 225000 0 0.0
.bss 119360 119360 0 0.0
.data 4416 4416 0 0.0
.data.rel.ro 93696 93696 0 0.0
.dynamic 672 672 0 0.0
.got 5880 5880 0 0.0
.init 27 27 0 0.0
.init_array 960 960 0 0.0
.rodata 340276 340276 0 0.0
.text 4717475 4717475 0 0.0
lock-app debug (read only) 4501649 4501649 0 0.0
(read/write) 203648 203648 0 0.0
.bss 113760 113760 0 0.0
.data 3648 3648 0 0.0
.data.rel.ro 79512 79512 0 0.0
.dynamic 624 624 0 0.0
.got 5216 5216 0 0.0
.init 27 27 0 0.0
.init_array 856 856 0 0.0
.rodata 246901 246901 0 0.0
.text 4044819 4044819 0 0.0
ota-provider-app debug (read only) 4165817 4165817 0 0.0
(read/write) 192728 192728 0 0.0
.bss 113632 113632 0 0.0
.data 3904 3904 0 0.0
.data.rel.ro 69296 69296 0 0.0
.dynamic 624 624 0 0.0
.got 4528 4528 0 0.0
.init 27 27 0 0.0
.init_array 720 720 0 0.0
.rodata 201205 201205 0 0.0
.text 3772835 3772835 0 0.0
ota-requestor-app debug (read only) 4255305 4255305 0 0.0
(read/write) 197008 197008 0 0.0
.bss 114656 114656 0 0.0
.data 4176 4176 0 0.0
.data.rel.ro 72288 72288 0 0.0
.dynamic 624 624 0 0.0
.got 4464 4464 0 0.0
.init 27 27 0 0.0
.init_array 776 776 0 0.0
.rodata 205045 205045 0 0.0
.text 3854083 3854083 0 0.0
shell debug (read only) 2788297 2788297 0 0.0
(read/write) 152272 152272 0 0.0
.bss 62312 62312 0 0.0
.data 768 768 0 0.0
.data.rel.ro 83400 83400 0 0.0
.dynamic 592 592 0 0.0
.got 4088 4088 0 0.0
.init 27 27 0 0.0
.init_array 1088 1088 0 0.0
.rodata 181856 181856 0 0.0
.text 2435474 2435474 0 0.0
thermostat-no-ble arm64 (read only) 4405248 4405248 0 0.0
(read/write) 245216 245216 0 0.0
.bss 122232 122232 0 0.0
.data 2784 2784 0 0.0
.data.rel.ro 102352 102352 0 0.0
.dynamic 512 512 0 0.0
.got 12008 12008 0 0.0
.init 24 24 0 0.0
.init_array 424 424 0 0.0
.rodata 162236 162236 0 0.0
.text 3902712 3902712 0 0.0
tv-app debug (read only) 5385993 5385993 0 0.0
(read/write) 349120 349120 0 0.0
.bss 244544 244544 0 0.0
.data 4992 4992 0 0.0
.data.rel.ro 92280 92280 0 0.0
.dynamic 624 624 0 0.0
.got 5512 5512 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 272885 272885 0 0.0
.text 4875267 4875267 0 0.0
tv-casting-app debug (read only) 9603105 9603105 0 0.0
(read/write) 339008 339008 0 0.0
.bss 156352 156352 0 0.0
.data 2464 2464 0 0.0
.data.rel.ro 173336 173336 0 0.0
.dynamic 624 624 0 0.0
.got 5064 5064 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 363592 363592 0 0.0
.text 8774099 8774099 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2525992 2525992 0 0.0
.bss 220216 220216 0 0.0
.data 5144 5144 0 0.0
.text 1488676 1488676 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1067836 1067836 0 0.0
bss 129393 129393 0 0.0
rodata 105436 105436 0 0.0
text 785436 785436 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1193944 1193944 0 0.0
bss 121603 121603 0 0.0
rodata 139196 139196 0 0.0
text 782816 782816 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1040168 1040168 0 0.0
bss 129348 129348 0 0.0
rodata 98872 98872 0 0.0
text 764324 764324 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 835864 835864 0 0.0
(read/write) 1751132 1751132 0 0.0
.bss 195004 195004 0 0.0
.data 2472 2472 0 0.0
.text 1545268 1545268 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 837912 837912 0 0.0
(read/write) 1705940 1705940 0 0.0
.bss 192956 192956 0 0.0
.data 2472 2472 0 0.0
.text 1502124 1502124 0 0.0
light cy8ckit_062s2_43012 (read only) 844600 844600 0 0.0
(read/write) 1630924 1630924 0 0.0
.bss 186380 186380 0 0.0
.data 2360 2360 0 0.0
.text 1433796 1433796 0 0.0
lock cy8ckit_062s2_43012 (read only) 817480 817480 0 0.0
(read/write) 1657812 1657812 0 0.0
.bss 213476 213476 0 0.0
.data 2384 2384 0 0.0
.text 1433564 1433564 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1116596 1116596 0 0.0
.bss 101216 101216 0 0.0
.data 740 740 0 0.0
.text 628972 628972 0 0.0
lock-app qpg6105+debug (read/write) 1080588 1080588 0 0.0
.bss 97512 97512 0 0.0
.data 784 784 0 0.0
.text 592968 592968 0 0.0
telink air-quality-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 821378 821378 0 0.0
bss 55064 55064 0 0.0
text 613736 613736 0 0.0
all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1086744 1086744 0 0.0
bss 100404 100404 0 0.0
text 767230 767230 0 0.0
all-clusters-minimal-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 1084036 1084036 0 0.0
bss 109764 109764 0 0.0
text 753368 753368 0 0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 934668 934668 0 0.0
bss 94272 94272 0 0.0
text 646786 646786 0 0.0
contact-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 821614 821614 0 0.0
bss 55108 55108 0 0.0
text 614106 614106 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a (read only) 4 4 0 0.0
(read/write) 978700 978700 0 0.0
bss 79092 79092 0 0.0
text 694196 694196 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1093016 1093016 0 0.0
bss 99836 99836 0 0.0
text 769678 769678 0 0.0
lock-app-dfu tlsr9528a (read only) 4 4 0 0.0
(read/write) 965332 965332 0 0.0
bss 97356 97356 0 0.0
text 647872 647872 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 948344 948344 0 0.0
bss 92380 92380 0 0.0
text 662894 662894 0 0.0
pump-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 880412 880412 0 0.0
bss 69084 69084 0 0.0
text 622116 622116 0 0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 821024 821024 0 0.0
bss 57320 57320 0 0.0
text 588992 588992 0 0.0
shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 705600 705600 0 0.0
bss 73588 73588 0 0.0
text 462094 462094 0 0.0
smoke_co_alarm-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 823350 823350 0 0.0
bss 55244 55244 0 0.0
text 616850 616850 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 878117 878117 0 0.0
bss 60796 60796 0 0.0
text 630732 630732 0 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 845396 845396 0 0.0
bss 57616 57616 0 0.0
text 607458 607458 0 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 839672 839672 0 0.0
bss 57968 57968 0 0.0
text 601492 601492 0 0.0

@yufengwangca yufengwangca merged commit 3e8aeeb into project-chip:master Dec 21, 2023
57 checks passed
@Damian-Nordic Damian-Nordic deleted the deferred-leak branch December 22, 2023 08:10
Damian-Nordic added a commit to Damian-Nordic/connectedhomeip that referenced this pull request Jan 16, 2024
* [app] Fix DeferredAttributePerister memory leak

ScopedMemoryBuffer's Release() method was used instead of
Free(). Add CHECK_RETURN_VALUE annotation to the Release()
method to prevent from making such a mistake in the future.

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>

* Code review

---------

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>
(cherry picked from commit 3e8aeeb)
andy31415 pushed a commit that referenced this pull request Jan 18, 2024
* [app] Fix DeferredAttributePersister memory leak (#31075)

* [app] Fix DeferredAttributePerister memory leak

ScopedMemoryBuffer's Release() method was used instead of
Free(). Add CHECK_RETURN_VALUE annotation to the Release()
method to prevent from making such a mistake in the future.

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>

* Code review

---------

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>
(cherry picked from commit 3e8aeeb)

* [OpenThread] Harden DNS record parsing (#31227)

OpenThread applications would crash upon receiving an empty
DNS TXT record. The reason was that the code for copying OT
DNS service info object into Matter DnssdService object
would not initialize the TXT entry count in the latter
object in such a case.

In the reported case, the Matter stack was presented an
empty TXT record because OpenThread's DNS client received
a TXT record with TTL 0 and it discarded its contents.
Nevertheless, the issue could be reproduced by publishing
Matter service without TXT entries and kicking off DNS query.

1. Initialize the TXT entry and subtype count properly in all
   scenarios.
2. Do not even process the service info object if an error was
   returned by OpenThread before.
3. Extract some boilerplate to a separate function to improve
   readability.

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>
(cherry picked from commit 76b6bb5)
espressif-bot pushed a commit to espressif/connectedhomeip that referenced this pull request Jan 30, 2024
…ip#31457)

* [app] Fix DeferredAttributePersister memory leak (project-chip#31075)

* [app] Fix DeferredAttributePerister memory leak

ScopedMemoryBuffer's Release() method was used instead of
Free(). Add CHECK_RETURN_VALUE annotation to the Release()
method to prevent from making such a mistake in the future.

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>

* Code review

---------

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>
(cherry picked from commit 3e8aeeb)

* [OpenThread] Harden DNS record parsing (project-chip#31227)

OpenThread applications would crash upon receiving an empty
DNS TXT record. The reason was that the code for copying OT
DNS service info object into Matter DnssdService object
would not initialize the TXT entry count in the latter
object in such a case.

In the reported case, the Matter stack was presented an
empty TXT record because OpenThread's DNS client received
a TXT record with TTL 0 and it discarded its contents.
Nevertheless, the issue could be reproduced by publishing
Matter service without TXT entries and kicking off DNS query.

1. Initialize the TXT entry and subtype count properly in all
   scenarios.
2. Do not even process the service info object if an error was
   returned by OpenThread before.
3. Extract some boilerplate to a separate function to improve
   readability.

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>
(cherry picked from commit 76b6bb5)
tobiasgraf pushed a commit to boschglobal/connectedhomeip that referenced this pull request Feb 28, 2024
* [app] Fix DeferredAttributePerister memory leak

ScopedMemoryBuffer's Release() method was used instead of
Free(). Add CHECK_RETURN_VALUE annotation to the Release()
method to prevent from making such a mistake in the future.

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>

* Code review

---------

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>
(cherry picked from commit 3e8aeeb)
Jerry-ESP pushed a commit to Jerry-ESP/connectedhomeip that referenced this pull request Apr 25, 2024
…ip#31457)

* [app] Fix DeferredAttributePersister memory leak (project-chip#31075)

* [app] Fix DeferredAttributePerister memory leak

ScopedMemoryBuffer's Release() method was used instead of
Free(). Add CHECK_RETURN_VALUE annotation to the Release()
method to prevent from making such a mistake in the future.

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>

* Code review

---------

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>
(cherry picked from commit 3e8aeeb)

* [OpenThread] Harden DNS record parsing (project-chip#31227)

OpenThread applications would crash upon receiving an empty
DNS TXT record. The reason was that the code for copying OT
DNS service info object into Matter DnssdService object
would not initialize the TXT entry count in the latter
object in such a case.

In the reported case, the Matter stack was presented an
empty TXT record because OpenThread's DNS client received
a TXT record with TTL 0 and it discarded its contents.
Nevertheless, the issue could be reproduced by publishing
Matter service without TXT entries and kicking off DNS query.

1. Initialize the TXT entry and subtype count properly in all
   scenarios.
2. Do not even process the service info object if an error was
   returned by OpenThread before.
3. Extract some boilerplate to a separate function to improve
   readability.

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>
(cherry picked from commit 76b6bb5)
andy31415 pushed a commit that referenced this pull request Apr 26, 2024
… v1.2-branch (#33161)

* [1.1] Cherry pick Thread DNS client and memory leak fixes (#31457)

* [app] Fix DeferredAttributePersister memory leak (#31075)

* [app] Fix DeferredAttributePerister memory leak

ScopedMemoryBuffer's Release() method was used instead of
Free(). Add CHECK_RETURN_VALUE annotation to the Release()
method to prevent from making such a mistake in the future.

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>

* Code review

---------

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>
(cherry picked from commit 3e8aeeb)

* [OpenThread] Harden DNS record parsing (#31227)

OpenThread applications would crash upon receiving an empty
DNS TXT record. The reason was that the code for copying OT
DNS service info object into Matter DnssdService object
would not initialize the TXT entry count in the latter
object in such a case.

In the reported case, the Matter stack was presented an
empty TXT record because OpenThread's DNS client received
a TXT record with TTL 0 and it discarded its contents.
Nevertheless, the issue could be reproduced by publishing
Matter service without TXT entries and kicking off DNS query.

1. Initialize the TXT entry and subtype count properly in all
   scenarios.
2. Do not even process the service info object if an error was
   returned by OpenThread before.
3. Extract some boilerplate to a separate function to improve
   readability.

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>
(cherry picked from commit 76b6bb5)

* ESP32: Add EndpointQueueFilter for ESP32 platform (#31440)

* Add EndpointQueueFilter for ESP32 platform

* Restyled by clang-format

* Restyled by gn

* fix compile error when disabling inet ipv4

* review changes

* Restyled by clang-format

* review changes

* review changes

---------

Co-authored-by: Restyled.io <commits@restyled.io>

* [ESP32] Limit number of returned WiFi scan results to configured limit (#30780)

Scan results are allocated on the heap and on a resource critical device
where heap is less, this may fail if there are a lot of APs in the
vicinity.

* [ESP32] Fix the threading issue in nimble (#29180)

* [ESP32] Fix the threading issue in nimble

Send ble connection error than executing in nimble thread context

* comment explaining why we are posting connection error event

* Adding a comment for kCHIPoBLEConnectionError

* IM: Create ReadHandler after Session Establishment for Subscription Resumption (#30491)

* IM: Create ReadHandler after Session Establishment for Subscription Resumption

* Restyled by clang-format

* Make SubscriptionResumptionHelper inherits from SubscriptionInfo

* review changes

* Rename Helper to SessionEstablisher

* Restyled by clang-format

* RAII changes

* Restyled by clang-format

---------

Co-authored-by: Restyled.io <commits@restyled.io>

* [ESP32] Fix adding NDEBUG flag to CPPFLAGS (#30763)

In esp-idf, NDEBUG flag is added to CPPFLAGS only if assertions are
disabled. Making this inline to that.

* Add records of session establishment for subscription resumption (#31755)

* Add records of session establishment for subscription resumption

* Restyled by clang-format

* review changes

* Schedule subscription resumption when failing to establish the session in SubscriptionResumptionSessionEstablisher

* Add option to set subscription timeout resumption retry interval seconds for Linux app
Add cirque test for subscription resumption timeout

* Restyled by clang-format

* Restyled by autopep8

* Restyled by isort

* fix CI building

* Add test to the test list

* add subscription resumption restries number to SubscriptionInfo struct

* review changes

* make resumption retries persistent

* Restyled by clang-format

* ci build fixes

* try to fix cirque test

---------

Co-authored-by: Restyled.io <commits@restyled.io>

* ESP32: check ap info in IsStationConnected (#31438)

* Add checks for mOTInst in GenericThreadStackManagerImpl_OpenThread (#32482)

* Add checks for mOTInst in GenericThreadStackManagerImpl_OpenThread

* review changes

* [ESP32] Fix few attributes with fixed quality in DeviceInfoProvider (#32893)

* [ESP32] Fix few attributes with fixed quality in DeviceInfoProvider

Fixed labels, supported locales, supported calendar types were being
read from the nvs(flash) and during OTA its a hassle if one wants to
upgrade these values. Added few APIs to set the data for these
attributes in ESP32DeviceInfoProvider.

* Restyled by clang-format

* Restyled by prettier-markdown

* fix the lint errors

* Add back the original Device info provider which reads from the nvs

Add StaticESP32DeviceInfoProvider along with APIs to set data

Remove changes from example and add a guide along with usage

---------

Co-authored-by: Restyled.io <commits@restyled.io>

* Implement BLE Manager Shutdown for nimble host (#33109)

* [ESP32] Implement BLE Manager Shutdown for nimble host

- Replace ble deinit imple in Esp32AppServer with BLEMgr().Shutdown()
- Replace few ESP_LOG with ChipLog in Esp32AppServer
- Move ble deinit kCommissioningComplete switch case
- Make USE_BLE_ONLY_FOR_COMMISSIONING depends on BT_ENABLED

* Restyled by clang-format

* address reviews

* Add checks for timer handler

---------

Co-authored-by: Restyled.io <commits@restyled.io>

* [ESP32]  Made a provision to generate esp_secure_cert partition in factory partition script. (#29840)

* Made a provision to generate esp_secure_cert partition in factory partition script.

- Added the provision to generate esp_secure_cert_partition based on option --dac-in-secure-cert.
- Refactored some code of the existing script - made it more modular.

* made outdir user governed

* Added the support for onboarding paylaod in factory script (#31274)

---------

Co-authored-by: Damian Królik <66667989+Damian-Nordic@users.noreply.github.com>
Co-authored-by: Wang Qixiang <43193572+wqx6@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
Co-authored-by: Shubham Patil <shubham.patil@espressif.com>
Co-authored-by: shripad621git <79364691+shripad621git@users.noreply.github.com>
maciejbaczmanski pushed a commit to maciejbaczmanski/connectedhomeip that referenced this pull request Jul 15, 2024
…ect-chip#31075)

* [app] Fix DeferredAttributePerister memory leak

ScopedMemoryBuffer's Release() method was used instead of
Free(). Add CHECK_RETURN_VALUE annotation to the Release()
method to prevent from making such a mistake in the future.

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>

* Code review

---------

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>
maciejbaczmanski pushed a commit to maciejbaczmanski/connectedhomeip that referenced this pull request Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

5 participants