BTreeMap root node leaks on panic during into_iter
#69769
Labels
A-collections
Area: `std::collection`
C-bug
Category: This is a bug.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
When running the
test_into_iter_drop_leak
test in Miri, it complains about a memory leak:The leaked allocation is the root node of the map.
Also see this discussion where the issue came up.
Cc @ssomers
The text was updated successfully, but these errors were encountered: