You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a.out(43383,0x10065f000) malloc:
*** error for object 0x7ffed14144d0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Activity
nikomatsakis commentedon Oct 27, 2012
I think the problem is that, when translating
expr_unary_move, if the dest is "ignore", we drop the lvalue but do not zero it.vertexclique commentedon Oct 30, 2012
Which fn we use instead of
drop_val( lvalue )in "Ignore" case?testcase added for rust-lang#3878
Add test case for #3878, which didn't get merged somehow
catamorphism commentedon Nov 1, 2012
This was merged in already, but I also added the test case:
9d276b1
vertexclique commentedon Nov 1, 2012
@catamorphism I see him there
src/test/run-pass/unused-move.rsAuto merge of rust-lang#3878 - rust-lang:rustup-2024-09-11, r=RalfJung
Merge rust-lang#3878