X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Fblockallocator.cpp;h=003ffb0dcf44a9ab5c141370667ce7a9c16b5f0a;hb=434e283552f3010d28eacf420b4b8d5254d1ea50;hp=b38b62d6d1f1cd37763fcb2c3979dff8d4e97439;hpb=350bed224de78737a073df9a2df7427b7036ac33;p=r2c2.git diff --git a/source/libr2c2/blockallocator.cpp b/source/libr2c2/blockallocator.cpp index b38b62d..003ffb0 100644 --- a/source/libr2c2/blockallocator.cpp +++ b/source/libr2c2/blockallocator.cpp @@ -192,7 +192,10 @@ void BlockAllocator::reserve_more() } if(!reserve_block(block)) + { + pending_block = &*block; break; + } if(cur_blocks_end==blocks.end()) --cur_blocks_end;