From 157362b447c4d9e2c7fba9297a0b380438cb5328 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 1 Oct 2007 05:20:00 +0000 Subject: [PATCH] DHT optimization by using unordered free instead of ordered free on the pool --- src/kademlia/rpc_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kademlia/rpc_manager.cpp b/src/kademlia/rpc_manager.cpp index 93eac8565..247c79a0f 100644 --- a/src/kademlia/rpc_manager.cpp +++ b/src/kademlia/rpc_manager.cpp @@ -83,7 +83,7 @@ void intrusive_ptr_release(observer const* o) { boost::pool<>& p = o->pool_allocator; o->~observer(); - p.ordered_free(const_cast(o)); + p.free(const_cast(o)); } }