Ticket #9166: container_leak.patch
File container_leak.patch, 559 bytes (added by , 9 years ago) |
---|
-
boost/container/detail/allocator_version_traits.hpp
old new 141 141 else{ 142 142 received_size = preferred_size; 143 143 BOOST_TRY{ 144 ret.first = a.allocate(received_size); 144 if(preferred_size){ 145 ret.first = a.allocate(received_size); 146 } 145 147 } 146 148 BOOST_CATCH(...){ 147 149 if(!(command & nothrow_allocation)){