[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] mktbl.c - not a single free() but several malloc's



> I just had a quick look at mktbl.c - and the first thing that I recognize
> is that it doesn't free the memory that was allocated with malloc();
>
> Is that OK, will freemint free that memory? What If I run that tool with
> plain TOS?
All memory is free'ed as soon as you terminate a process (except TSRs,
logically). So it isn't that bad, don't worry :) But it's nice
programming habit to release everything before exit, sure.


-- 
MiKRO / Mystic Bytes
http://mikro.atari.org