Signed-off-by: Sanjay Singh Rawat <sanjay.rawat(a)linaro.org>
---
below are the leaks which this patch clears
72 bytes in 3 blocks are definitely lost in loss record 2 of 9
at 0x4C2ABBD: malloc (vg_replace_malloc.c:296)
by 0x4C2CA8B: realloc (vg_replace_malloc.c:692)
by 0x403636: store_data (idlestat.c:836)
72 bytes in 2 blocks are definitely lost in loss record 4 of 9
at 0x4C2CB0A: realloc (vg_replace_malloc.c:692)
by 0x403820: store_irq (idlestat.c:882)
32,136 bytes in 9 blocks are definitely lost in loss record 9 of 9
at 0x4C2CB0A: realloc (vg_replace_malloc.c:692)
by 0x403636: store_data (idlestat.c:836)
by 0x403E2D: idlestat_load (idlestat.c:1015)
---
idlestat.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/idlestat.c b/idlestat.c
index da615cb..4d38d57 100644
--- a/idlestat.c
+++ b/idlestat.c
@@ -459,9 +459,16 @@ static void release_cstate_info(struct cpuidle_cstates *cstates, int nrcpus)
struct cpuidle_cstate *c = &(cstates[cpu].cstate[i]);
if (c->name)
free(c->name);
+ if (c->data)
+ free(c->data);
}
}
+ if (cstates->wakeinfo.irqinfo)
+ free(cstates->wakeinfo.irqinfo);
+ if (cstates->wakeirq)
+ free(cstates->wakeirq);
+
/* free the cstates array */
free(cstates);
}
--
1.8.3.2
== Progress ==
* CARD 1103: Flash support on u-boot fastboot (CARD-1103: 100%)
- Fastboot flash framework by Steve Rae was accepted in Upstream
- v4 can't be submitted due the code present in upstream
- Working enabling the existing framework for BBB and
Panda to complete the card
== Plans ==
* CARD 1103: fastboot flash command (CARD-1103: 70%)
- submit the changes made for support of BBB and Panda
* Enabling UEFI Fastboot on Panda (CARD-198: 30%)
- work on the task
== Issues ==
* 2 days holiday in India in last week
Regards,
Dileep
(Really week 40 this week, not like last's week 'week40' :-/ )
== Progress ==
* Buildd-tending:
Debian official rebuild is up to 80% (All of SCC built) (CARD-1586: 15%)
https://buildd.debian.org/stats/graph-quarter-big.png
* Made/uploaded official sbuild release with multiarch build support (DEVPLAT-220: 40%)
* Debugging sbuild issue caused by above code: #763635 (DEVPLAT-220: 20%)
* Built updated cross-binutils 0.10 packages (DEVPLAT-220: 5%)
* Fixed texlive-bin and google-perftools failures (CARD-1586: 15%)
* Built/uploaded a pile of official arm64 packages on turfan (APM machine)(CARD-1586: 20%)
== Plans ==
* Get cross-toolchain packages into testing before freeze
* Upload sbuild with profile support
* Enable new buildd hardware
== Issues ==
Shortage of hours in day before freeze
Wookey
--
Principal hats: Linaro, Emdebian, Wookware, Balloonboard, ARM
http://wookware.org/
Wookey
--
Principal hats: Linaro, Emdebian, Wookware, Balloonboard, ARM
http://wookware.org/
Week 39:
== Progress ==
Android Release (20 %)
Vacation for 4 days.
Week 40
== Progress ==
Juno firmware update (DEVPLAT-262, 10%)
Roadmap Cards process (10%)
Ara (40%)
Holiday in India on October 2nd and 3rd.
== Plans ==
Enable SELinux support in linux linaro
Regards,
Vishal
== Progress ==
* Enabling UEFI Fastboot on Panda (CARD-198: 0 %)
- On Hold
* CARD 1103: Flash support on u-boot fastboot (CARD-1103: 100%)
- worked on V4
== Plans ==
* CARD 1103: fastboot flash command (CARD-1103: 100%)
- Test and Submit the changes made for wolfgang's comments
== Issues ==
* None
== Progress ==
* Enabling UEFI Fastboot on Panda (CARD-198: 0 %)
- On Hold
* Attended Connect LCU 14 (80%)
* CARD 1103: Flash support on u-boot fastboot (CARD-1103: 20%)
- Started working on Wolfgang's comments
== Plans ==
* CARD 1103: fastboot flash command (CARD-1103: 100%)
- work on comments from Wolfgang and submit v4
== Issues ==
*None