An issue in the smallvec crate for Rust was discovered, where the Iterator implementation mishandles destructors, potentially leading to a double free. This occurs when an iterator passed to `SmallVec::insert many` panics in `Iterator::next`, causing destructors to run during unwinding while the vector is in an inconsistent state.