From 635865aefd842e94e32856b8d32fbcacb52d78ba Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 9 Jan 2008 21:08:36 +0000 Subject: 2008-01-09 Joel Sherrill * 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. --- cpukit/libcsupport/src/posix_memalign.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/libcsupport/src/posix_memalign.c') diff --git a/cpukit/libcsupport/src/posix_memalign.c b/cpukit/libcsupport/src/posix_memalign.c index c3dae3449e..34b6b627e6 100644 --- a/cpukit/libcsupport/src/posix_memalign.c +++ b/cpukit/libcsupport/src/posix_memalign.c @@ -59,7 +59,7 @@ int posix_memalign( * * If some free's have been deferred, then do them now. */ - malloc_process_deferred_frees(); + malloc_deferred_frees_process(); #if defined(RTEMS_MALLOC_BOUNDARY_HELPERS) /* -- cgit v1.2.3