diff options
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(); + } } |