@dcz I'd think that having to use 'cleanup' too much would be indicative of some very poorly structured code, but sometimes one is forced to do that. Most of the C code I've seen in industry is poorly structured, and it appears to be getting worse. Good practice is driven by #anecdote, and #SoftwareEngineeringIsDead.