[GRASS-user] memory leak in calc_covariance

Peng Du du at cs.utk.edu
Tue Dec 1 21:31:15 EST 2009


Hi There

In grass6_devel/imagery/i.pca/main.c, calc_covariance(...), rowbuf1 and 
rowbuf2 are each allocated bands times, but only freed bands-1 times. 
Isn't this a leak?

Thanks,
Peng


More information about the grass-user mailing list