diff options
author | Divya Sharma <divyash@codeaurora.org> | 2018-02-01 05:02:57 -0800 |
---|---|---|
committer | Divya Sharma <divyash@codeaurora.org> | 2018-02-01 05:02:57 -0800 |
commit | 3a5aaacae80b1be128d5a561983cac6bfd58c73e (patch) | |
tree | 8bcf8403eedb86ea0f232768cd047af10ff76330 /libc/malloc_debug/DebugData.cpp | |
parent | f2f1cee390cb35e6d129b9b12356cb64eb07fc21 (diff) | |
parent | c82a076c18bfb00c0f68d1264e9cd67e9214a940 (diff) |
PPR1.180130.002_AOSP_Merge
Change-Id: I745ed3d4d1a3acfe3840d50a016813a545f98db7
Diffstat (limited to 'libc/malloc_debug/DebugData.cpp')
-rw-r--r-- | libc/malloc_debug/DebugData.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libc/malloc_debug/DebugData.cpp b/libc/malloc_debug/DebugData.cpp index d6ca99886..76f8fbb1e 100644 --- a/libc/malloc_debug/DebugData.cpp +++ b/libc/malloc_debug/DebugData.cpp @@ -94,16 +94,25 @@ void DebugData::PrepareFork() { if (track != nullptr) { track->PrepareFork(); } + if (free_track != nullptr) { + free_track->PrepareFork(); + } } void DebugData::PostForkParent() { if (track != nullptr) { track->PostForkParent(); } + if (free_track != nullptr) { + free_track->PostForkParent(); + } } void DebugData::PostForkChild() { if (track != nullptr) { track->PostForkChild(); } + if (free_track != nullptr) { + free_track->PostForkChild(); + } } |