Author: Stan Eisenstat
Subject: Re: [Cs223] Freeing Memory
Date: Saturday, 18 Apr 2020, 07:28:50
> Message Posted By: Unknown > > Is it ok if we free all memory before returning? It ends up with more > frees than the staff solution/no memory is still reachable but all memory > ends up being freed so it feels cleaner. Freeing all allocated memory satisfies the requirement that all storage be reachable. --Stan-PREV INDEX NEXT