summaryrefslogtreecommitdiff
path: root/src/matrixOperations/logm/testDoubleLogm.c
diff options
context:
space:
mode:
authortorset2009-02-05 08:37:28 +0000
committertorset2009-02-05 08:37:28 +0000
commit3118121aaa26f0d96520d5626c3458817bb67003 (patch)
tree079be34beb2abf6b03c7dea4fb037538c7661e43 /src/matrixOperations/logm/testDoubleLogm.c
parent90daea74ec2e71b6d740f870663d768d062da7ae (diff)
downloadscilab2c-3118121aaa26f0d96520d5626c3458817bb67003.tar.gz
scilab2c-3118121aaa26f0d96520d5626c3458817bb67003.tar.bz2
scilab2c-3118121aaa26f0d96520d5626c3458817bb67003.zip
Add free(to free the malloc) when missing
Diffstat (limited to 'src/matrixOperations/logm/testDoubleLogm.c')
-rw-r--r--src/matrixOperations/logm/testDoubleLogm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/matrixOperations/logm/testDoubleLogm.c b/src/matrixOperations/logm/testDoubleLogm.c
index 44deb745..8b31b857 100644
--- a/src/matrixOperations/logm/testDoubleLogm.c
+++ b/src/matrixOperations/logm/testDoubleLogm.c
@@ -31,6 +31,9 @@ static void zlogmaTest(void){
zlogma(in,3,out);
for(i=0;i<9;i++) printf("out[%d] = %f + %f *i\n",i,zreals(out[i]),zimags(out[i]));
+
+ free(in);
+ free(out);
}
static int logmTest(void){