Using RAII to remedy a defect where not all code paths performed required exit actions, follow-up

Last time, we looked at a way to use the RAII design pattern (Resource Acquisition Is Initialization) to ensure that a function eventually got called on all code paths

Click here to read the article