Re:Early exit is a tail call optimization of procedural lang...
by legulere on Monday December 14, 2015 @02:08PM
(#10733076)
But in C you usually use `goto Error;` which basically is just a `return` + you can do the cleanup yourself.
[ Parent
| on HN ]
Re:Early exit is a tail call optimization of procedural lang...
by CyberDildonics on Monday December 14, 2015 @05:02PM
(#10734283)
That means that you have to put all your unlocks and deallocations there AND you have to check them to see if they were allocated/locked in the first place.