Fixed #264 the memory leak bug in dtrtri_U.
This commit is contained in:
parent
749f45ffc8
commit
b5c2ac4fd6
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue