summaryrefslogtreecommitdiffstats
path: root/include/jemalloc/internal/prof.h
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2016-06-08 18:41:24 (GMT)
committerJason Evans <jasone@canonware.com>2016-06-08 18:41:24 (GMT)
commit3de035335255d553bdb344c32ffdb603816195d8 (patch)
tree24896f5754301439fbfd4c280c71e46e5c830207 /include/jemalloc/internal/prof.h
parentf70a254d44c8d30af2cd5d30531fb18fdabaae6d (diff)
parent5271b673b2e93dd655fde6f2ee1ea849da5cb3d2 (diff)
downloadjemalloc-4.2.1.zip
jemalloc-4.2.1.tar.gz
jemalloc-4.2.1.tar.bz2
Merge branch.4.2.1
Diffstat (limited to 'include/jemalloc/internal/prof.h')
-rw-r--r--include/jemalloc/internal/prof.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/jemalloc/internal/prof.h b/include/jemalloc/internal/prof.h
index 691e153..21dff5f 100644
--- a/include/jemalloc/internal/prof.h
+++ b/include/jemalloc/internal/prof.h
@@ -513,6 +513,7 @@ prof_realloc(tsd_t *tsd, const void *ptr, size_t usize, prof_tctx_t *tctx,
* though its actual usize was insufficient to cross the
* sample threshold.
*/
+ prof_alloc_rollback(tsd, tctx, true);
tctx = (prof_tctx_t *)(uintptr_t)1U;
}
}