I read in Google c++ coding standards that Google does not use exception. If exception is not used, how do you free memory when errors occur in your program?
For ex
The operating system cleans up all used memory and file handles when a process is terminated for whatever reason.