diff options
author | Eric Wong <e@80x24.org> | 2022-12-02 06:42:34 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2022-12-02 09:40:01 +0000 |
commit | f19b83952ae527c84b9a34a089f71fabbafc8f3b (patch) | |
tree | e019c5f475636e6e36dd967330b573f15c1056e9 | |
parent | 021a1d6ec4865653ac5c265cbc55269b37e3b59f (diff) | |
download | mwrap-f19b83952ae527c84b9a34a089f71fabbafc8f3b.tar.gz |
While this is copied from the pre-zeroed TSD, it won't always be the case since the TSD area will be used more extensively.
-rw-r--r-- | mwrap_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mwrap_core.h b/mwrap_core.h index dab3e77..9b771d2 100644 --- a/mwrap_core.h +++ b/mwrap_core.h @@ -258,6 +258,7 @@ again: l->mtx = mutex_assign(); l->age_total = 0; l->max_lifespan = 0; + l->freed_bytes = 0; l->frees = 0; l->allocations = 1; CDS_INIT_LIST_HEAD(&l->allocs); |