Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: