From c36888d36c91c664431f8da34d15fac6e8688305 Mon Sep 17 00:00:00 2001 From: Valay Agarawal Date: Fri, 9 Aug 2024 23:34:03 +0000 Subject: [PATCH] fixed one more memoy leak --- gpu/src/device_cuda.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gpu/src/device_cuda.cpp b/gpu/src/device_cuda.cpp index 67df9251..93b536cf 100644 --- a/gpu/src/device_cuda.cpp +++ b/gpu/src/device_cuda.cpp @@ -1793,6 +1793,7 @@ cublasDgemm(dd->handle, CUBLAS_OP_T, CUBLAS_OP_N, pm->dev_free(d_bPvu); pm->dev_free(d_vuwm); pm->dev_free(d_vuwM); + free(h_vuwM); profile_stop(); #ifdef _SIMPLE_TIMER double t1 = omp_get_wtime();