freeing dynamic memory in the r.le programs

Nalneesh Gaur ngaur at zorro.cecer.army.mil
Mon Jul 19 09:12:38 EDT 1993


There is no need to do
for (i=0; i<100; i++)
           free(pt[i]);
 in order to free memory.

Just by saying 
	free(pt);

itself will free the memory allocated for the array pointed to.

send mail to ngaur at chief.ecn.uoknor.edu
Nalneesh Gaur, University of oklahoma, Norman



More information about the grass-dev mailing list