diff options
author | torset | 2009-02-05 08:37:28 +0000 |
---|---|---|
committer | torset | 2009-02-05 08:37:28 +0000 |
commit | 3118121aaa26f0d96520d5626c3458817bb67003 (patch) | |
tree | 079be34beb2abf6b03c7dea4fb037538c7661e43 /src/matrixOperations/logm/zlogma.c | |
parent | 90daea74ec2e71b6d740f870663d768d062da7ae (diff) | |
download | scilab2c-3118121aaa26f0d96520d5626c3458817bb67003.tar.gz scilab2c-3118121aaa26f0d96520d5626c3458817bb67003.tar.bz2 scilab2c-3118121aaa26f0d96520d5626c3458817bb67003.zip |
Add free(to free the malloc) when missing
Diffstat (limited to 'src/matrixOperations/logm/zlogma.c')
-rw-r--r-- | src/matrixOperations/logm/zlogma.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/matrixOperations/logm/zlogma.c b/src/matrixOperations/logm/zlogma.c index 8fb2fa38..37516822 100644 --- a/src/matrixOperations/logm/zlogma.c +++ b/src/matrixOperations/logm/zlogma.c @@ -103,5 +103,13 @@ void zlogma (doubleComplex* in, int size, doubleComplex* out){ /* Vp * diag(log(diag(vp))*inv(Vp) */ zmulma(tmp, size, size, eigenvectors, size, size, out); + + free(eigenvalues); + free(eigenvectors); + free(tmp); + free(pdblWork); + free(pdblRWork); + free(inCopy); + } |