News for hackers. Stuff that matters.
Re: Critical crypto bug leaves Linux, hundreds of apps open ... by cesarb on Tuesday March 04, 2014 @05:46PM (#7343776)
Pure C does not have automatic destruction of objects, but gcc has an extension to do it. Take a look at systemd's source code to see it in action. It's very similar to C++'s RAII, and can also do things like closing file descriptors.

There are no comments on this comment yet.