]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #16706 : pnkfelix/rust/fsk-fix-nojem-realloc, r=thestinger
authorbors <bors@rust-lang.org>
Sun, 24 Aug 2014 07:45:59 +0000 (07:45 +0000)
committerbors <bors@rust-lang.org>
Sun, 24 Aug 2014 07:45:59 +0000 (07:45 +0000)
Copy only up to `min(new_size, old_size)` when doing reallocate.

This was a bug when running with jemalloc disabled.

Fix #16687


Trivial merge