[rtems commit] heapgetinfo: Free all delayed blocks
Sebastian Huber
sebh at rtems.org
Mon Nov 18 13:51:00 UTC 2013
Module: rtems
Branch: master
Commit: 85b5264211dfc8b1d517c0fa383936938ba2b33f
Changeset: http://git.rtems.org/rtems/commit/?id=85b5264211dfc8b1d517c0fa383936938ba2b33f
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Nov 14 16:21:41 2013 +0100
heapgetinfo: Free all delayed blocks
---
cpukit/score/src/heapgetinfo.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/cpukit/score/src/heapgetinfo.c b/cpukit/score/src/heapgetinfo.c
index ded488b..96036a4 100644
--- a/cpukit/score/src/heapgetinfo.c
+++ b/cpukit/score/src/heapgetinfo.c
@@ -48,5 +48,6 @@ void _Heap_Get_information(
)
{
memset( the_info, 0, sizeof(*the_info) );
+ _Heap_Protection_free_all_delayed_blocks( the_heap );
_Heap_Iterate( the_heap, _Heap_Get_information_visitor, the_info );
}
More information about the vc
mailing list