Re: Critical crypto bug leaves Linux, hundreds of apps open ...
by nhaehnle on Tuesday March 04, 2014 @03:07PM
(#7342723)
Since C has neither garbage collection nor the RAII pattern of C++, it is very common for C functions to have a cleanup section at the end, where allocated memory and other resources are freed again. In many C projects (including the Linux kernel) it is a common and accepted pattern to jump into the right position of the cleanup sequence using a goto.
[ Parent
| on HN ]
There are no comments on this comment yet.