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