Re: [patch] PM / Hibernate: NULL dereferences on error paths

Dan Carpenter
2011-10-09T14:11:30Z

On Sun, Oct 09, 2011 at 12:11:23AM +1100, Bojan Smojver wrote:
> With the introduction of threads, there were so many unwind places,
> that I thought I may forget something in some of them, therefore
> causing different bugs. So, I put everything under out_clean, so
> it's all done in one place. Obviously, everything's a trade-off in
> life. :-)

In general if you care about total bugs over the entire project then
simpler code is less buggy. But I understand that you've eliminated
a bug class and I can respect that.

regards,
dan carpenter