Hacker News new | ask | show | jobs
by al_be_back 1191 days ago
> void fn() { int tobias; delete &tobias; } <malloc>: ** error pointer being freed was not allocated

i wouldn't say that's an illegal op per se, if anything it's a pretty safe op! tobias only ever existed in thought, not in body :( :(

maybe a compiler WARN or IGNORED_OP