Hacker News new | past | comments | ask | show | jobs | submit
in C it's quite normal to set a return code and jump to a cleanup section where all the buffers are freed, all the files closed and so on.