Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 70bde21a authored by Josh Gao's avatar Josh Gao
Browse files

Use dlmalloc from external/dlmalloc instead of bionic/.

Bug: http://b/17207577
Change-Id: Ib9b4cd417091b765402ad217ae0b5a10e3ffbc23
parent a649a7df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ static void heap_error(const char* msg, const char* function, void* p);
#define USAGE_ERROR_ACTION(m,p) \
    heap_error("ARGUMENT IS INVALID HEAP ADDRESS", __FUNCTION__, p)

#include "../../../../bionic/libc/upstream-dlmalloc/malloc.c"
#include "../../../../external/dlmalloc/malloc.c"

static void heap_error(const char* msg, const char* function, void* p) {
    ALOG(LOG_FATAL, LOG_TAG, "@@@ ABORTING: CODE FLINGER: %s IN %s addr=%p",