On Tuesday, June 28, 2016 at 7:26:30 PM UTC+12, Chris Angelico wrote: > Why not: > > if (error) goto cleanup; > ... > cleanup: > do_cleanup; They all fall into that same trap. Doesn’t scale. Try one with allocation inside a loop, e.g. lines 488 onwards.