Hacker News new | ask | show | jobs
by iamNumber4 2730 days ago
In languages that support goto, but do not have try catch syntax. The appropriate use of goto for failure states to properly handle deallocation of allocated memory. If condition not met goto: cleanup