Fixed #264 the memory leak bug in dtrtri_U.

This commit is contained in:
Zhang Xianyi 2013-07-29 23:21:10 +08:00
parent 749f45ffc8
commit b5c2ac4fd6
1 changed files with 3 additions and 0 deletions

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. // call dtrtri from lapack for a walk around.
if(uplo==0){ if(uplo==0){
dtrtri_lapack_(UPLO, DIAG, N, a, ldA, Info); dtrtri_lapack_(UPLO, DIAG, N, a, ldA, Info);
#ifndef PPC440
blas_memory_free(buffer);
#endif
return 0; return 0;
} }
#endif #endif