summaryrefslogtreecommitdiffstats
path: root/libc/bionic/malloc_debug_leak.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/bionic/malloc_debug_leak.c')
-rw-r--r--libc/bionic/malloc_debug_leak.c9
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;
+}