Author: Stan Eisenstat
Subject: Re: [Cs323] Do we free memory if there is an error?
Date: Wednesday, 30 Sep 2020, 17:37:48
> Message Posted By: Unknown > > Usually, if there is an input error, we just exit(0);. We don't do that in > this case. Are we expected to free all memory if we get an invalid input > such as A ||| B? Yes. (Shells never exit because of mistyped commands.) --Stan-PREV INDEX NEXT