From 1335871f3f6efee7b01cefbc7d3645b068fcefa2 Mon Sep 17 00:00:00 2001 From: Samuel Just Date: Thu, 3 Mar 2016 11:04:14 -0800 Subject: [PATCH] buffer: increment history alloc as well in raw_combined Introduced in 73dcd26fc8798e09d93520c583d63edb28ffc631 Fixes: #14955 Signed-off-by: Samuel Just --- src/common/buffer.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/buffer.cc b/src/common/buffer.cc index ae1ffbe4b3f3d..93c836660181b 100644 --- a/src/common/buffer.cc +++ b/src/common/buffer.cc @@ -250,6 +250,7 @@ static simple_spinlock_t buffer_debug_lock = SIMPLE_SPINLOCK_INITIALIZER; : raw(dataptr, l), alignment(align) { inc_total_alloc(len); + inc_history_alloc(len); } ~raw_combined() { dec_total_alloc(len); -- 2.39.5