4 ms·
Remembering to use free() is a lot easier than remembering the inner workings of each and every destructor of each and every object you use. Will destroying th
by torstenvl 3y ago
Remembering to use free() is a lot easier than remembering the inner workings of each and every destructor of each and every object you use.
Will destroying this window free the memory for this font instance? Will destroying this DOCX processing object close the file? Who knows?
But when the rule is just to clean up after yourself, it's a lot easier to remember.