From 7ce642553428c422121d0502b14aaaf06f06f5d7 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Wed, 25 Sep 2013 07:31:04 +0000 Subject: [PATCH] merged removing assert from RC_0_16 --- src/allocator.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/allocator.cpp b/src/allocator.cpp index eabed79d7..471726448 100644 --- a/src/allocator.cpp +++ b/src/allocator.cpp @@ -100,7 +100,6 @@ namespace libtorrent char* page_aligned_allocator::malloc(size_type bytes) { TORRENT_ASSERT(bytes >= page_size()); - TORRENT_ASSERT(bytes % page_size() == 0); #ifdef TORRENT_DEBUG_BUFFERS int page = page_size(); int num_pages = (bytes + (page-1)) / page + 2;