diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-01-09 21:08:36 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-01-09 21:08:36 +0000 |
commit | 635865aefd842e94e32856b8d32fbcacb52d78ba (patch) | |
tree | 0f72fdb1b2a42b01744451e124b46bac24705281 /cpukit/libcsupport/src/free.c | |
parent | 2008-01-09 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-635865aefd842e94e32856b8d32fbcacb52d78ba.tar.bz2 |
2008-01-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
libcsupport/src/free.c, libcsupport/src/malloc.c,
libcsupport/src/malloc_deferred.c,
libcsupport/src/malloc_initialize.c, libcsupport/src/malloc_p.h,
libcsupport/src/malloc_sbrk_helpers.c,
libcsupport/src/posix_memalign.c: Place all deferred free code and
place it in subroutines. Add plugin for dirtying allocated memory to
assist in debugging. Clean up comments and spacing as needed.
* libcsupport/src/malloc_dirtier.c: New file.
Diffstat (limited to 'cpukit/libcsupport/src/free.c')
-rw-r--r-- | cpukit/libcsupport/src/free.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/free.c b/cpukit/libcsupport/src/free.c index be23388888..a4b1917ec2 100644 --- a/cpukit/libcsupport/src/free.c +++ b/cpukit/libcsupport/src/free.c @@ -38,7 +38,7 @@ void free( if ( _System_state_Is_up(_System_state_Get()) && !malloc_is_system_state_OK() ) { - malloc_defer_free(ptr); + malloc_deferred_free(ptr); return; } |