logoalt Hacker News

mort96yesterday at 10:53 AM1 replyview on HN

I don't typically do that. In 99.999% of cases, 'defer free(something)' was done because it's the correct thing to do at every exit point, so I don't need to think about it at the end of the block.


Replies

qserayesterday at 1:03 PM

If you only ever work in your own code bases, sure.