Browse Source

Fixed #264 the memory leak bug in dtrtri_U.

tags/v0.2.8^2
Zhang Xianyi 13 years ago
parent
commit
b5c2ac4fd6
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      interface/trtri.c

+ 3
- 0
interface/trtri.c View File

@@ -138,6 +138,9 @@ int NAME(char *UPLO, char *DIAG, blasint *N, FLOAT *a, blasint *ldA, blasint *In
// call dtrtri from lapack for a walk around.
if(uplo==0){
dtrtri_lapack_(UPLO, DIAG, N, a, ldA, Info);
#ifndef PPC440
blas_memory_free(buffer);
#endif
return 0;
}
#endif


Loading…
Cancel
Save