forked from premiere/premiere-libtorrent
DHT optimization by using unordered free instead of ordered free on the pool
This commit is contained in:
parent
ede5a5b908
commit
157362b447
|
@ -83,7 +83,7 @@ void intrusive_ptr_release(observer const* o)
|
|||
{
|
||||
boost::pool<>& p = o->pool_allocator;
|
||||
o->~observer();
|
||||
p.ordered_free(const_cast<observer*>(o));
|
||||
p.free(const_cast<observer*>(o));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue