freeing memory in r.le

Tue Jul 20 00:25:31 EDT 1993

Thanks to Darrel and Michael for help with the memory problem.  It turns
out I was doing a free for each element of the array rather than once
for each malloc call, even though I know better.  The Sun compiler,
however doesn't pick up the error and it also doesn't tell you if you
call free() with an int rather than a pointer.  Lars' Apollo compiler
did find this.  I guess maybe it's good that Sun has unbundled their
C compiler...

	Bill Baker
	bakerwl at

More information about the grass-dev mailing list