From 8f30fea9909a6e519e802876ed8bc9c10c571863 Mon Sep 17 00:00:00 2001 From: Fu Juntang <StrongTiger_001@163.com> Date: 星期三, 01 九月 2021 10:45:56 +0800 Subject: [PATCH] Add the data dynamic parse feature --- src/queue/array_lock_free_queue.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/queue/array_lock_free_queue.h b/src/queue/array_lock_free_queue.h index 5ff8daf..24efd10 100644 --- a/src/queue/array_lock_free_queue.h +++ b/src/queue/array_lock_free_queue.h @@ -102,6 +102,7 @@ template<typename ELEM_T, typename Allocator> ArrayLockFreeQueue<ELEM_T, Allocator>::~ArrayLockFreeQueue() { // std::cout << "destroy ArrayLockFreeQueue\n"; + Allocator::deallocate(m_theQueue); } -- Gitblit v1.8.0