On Fri, 2013-11-08 at 10:37 +0200, Marius Vollmer wrote:
But using "gs_free" is still better IMO because the return value is much more explicit. In a sense, with "gs_free" the compiler is doing the transformation to "goto out"-style for us, which ought to be a good thing.
Yeah, I'm pretty strongly of the opinion that it's a good thing. It's also heavily used by systemd now, among other projects.
It's not like garbage collection or something, the free() calls are still predictable and reliable.