summaryrefslogtreecommitdiff
path: root/src/matrixOperations/determ/ddeterma.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/determ/ddeterma.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/determ/ddeterma.c')
-rw-r--r--src/matrixOperations/determ/ddeterma.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/matrixOperations/determ/ddeterma.c b/src/matrixOperations/determ/ddeterma.c
index 75ee6ed9..4c1703e1 100644
--- a/src/matrixOperations/determ/ddeterma.c
+++ b/src/matrixOperations/determ/ddeterma.c
@@ -84,6 +84,8 @@ double ddeterma(double * in, int size){
for (i=0;i<size;i++){
out *= inCopy[i*size+i];
}
+ free(inCopy);
+ break;
}
#endif