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

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