issue #57: fixed double construct/destruct of queue pool items
authorkhizmax <libcds.dev@gmail.com>
Sat, 30 Apr 2016 19:00:12 +0000 (22:00 +0300)
committerkhizmax <libcds.dev@gmail.com>
Sat, 30 Apr 2016 19:00:12 +0000 (22:00 +0300)
cds/memory/vyukov_queue_pool.h

index 52360b0382eba346291eda8eb12ed075c66c3bc8..4c5780971ffb1483f619bd4f3fe5f23c8bf7ccb2 100644 (file)
@@ -482,7 +482,7 @@ namespace cds { namespace memory {
         ~bounded_vyukov_queue_pool()
         {
             m_Queue.clear();
-            std_allocatr().deallocate( m_pFirst, m_Queue.capacity());
+            std_allocator().deallocate( m_pFirst, m_Queue.capacity());
         }
 
         /// Allocates an object from pool