fixed typo preventing pool-allocators=off build

This commit is contained in:
Arvid Norberg 2009-01-13 06:49:40 +00:00
parent 2a19a52465
commit 3f0fa60164
1 changed files with 1 additions and 1 deletions

View File

@ -771,7 +771,7 @@ namespace libtorrent
++m_allocations;
#endif
#ifdef TORRENT_DISABLE_POOL_ALLOCATOR
return page_aligned_allocator::malloc(m_block_sizes);
return page_aligned_allocator::malloc(m_block_size);
#else
return (char*)m_pool.ordered_malloc();
#endif