OSDN Git Service

Init functions after debug malloc succeeds.
authorChristopher Ferris <cferris@google.com>
Fri, 11 Mar 2016 20:27:02 +0000 (12:27 -0800)
committerChristopher Ferris <cferris@google.com>
Sat, 12 Mar 2016 21:18:46 +0000 (13:18 -0800)
commitc1f182894990ea76f3f3c0ab41cc104637532e71
tree922103c1a25da91dadc89f0853d664a874f8a1b7
parenta2fa9c53e688eef2d4343df7e5ab03f6765397c4
Init functions after debug malloc succeeds.

Do not initialize all of the global function pointers associated with
debug malloc until the initialization has completed correctly.

Bug: 27600760

(cherry picked from commit 20f2c1ebd5b5860e69772b228ccda756eafc1398)

Change-Id: Ibc45213f55be9c8e95fb838b583353cd090c8b88
libc/bionic/malloc_common.cpp