diff options
| author | Vladimir Chtchetkine <vchtchetkine@google.com> | 2010-02-12 08:59:58 -0800 |
|---|---|---|
| committer | Vladimir Chtchetkine <vchtchetkine@google.com> | 2010-02-16 11:43:18 -0800 |
| commit | 75fba6888a1e5738f8255f3511c4ad40cbcc0eda (patch) | |
| tree | de49c9233770c63324539012655792937875a5c2 /libc/bionic/malloc_debug_leak.c | |
| parent | 5c734644eebf8d01be1e86cbe20a111a5c5a2738 (diff) | |
| download | bionic-75fba6888a1e5738f8255f3511c4ad40cbcc0eda.zip bionic-75fba6888a1e5738f8255f3511c4ad40cbcc0eda.tar.gz bionic-75fba6888a1e5738f8255f3511c4ad40cbcc0eda.tar.bz2 | |
Merge memory checking functionality from sandbox
Change-Id: I304c789a752c9f4af4944ca14b9bf1e7644da15a
Diffstat (limited to 'libc/bionic/malloc_debug_leak.c')
| -rw-r--r-- | libc/bionic/malloc_debug_leak.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libc/bionic/malloc_debug_leak.c b/libc/bionic/malloc_debug_leak.c index 7b8822c..e11606d 100644 --- a/libc/bionic/malloc_debug_leak.c +++ b/libc/bionic/malloc_debug_leak.c @@ -629,3 +629,12 @@ void* leak_memalign(size_t alignment, size_t bytes) } return base; } + +/* Initializes malloc debugging framework. + * See comments on MallocDebugInit in malloc_debug_common.h + */ +int malloc_debug_initialize(void) +{ + // We don't really have anything that requires initialization here. + return 0; +} |
