From 9c323d76cc203e6bbbdbb93ff83eba8f3ba1400b Mon Sep 17 00:00:00 2001
From: foreman
Date: Fri, 7 Nov 2014 15:55:16 -0500
Subject: [PATCH] P4 to Git Change 1095034 by yaxunl@yaxunl_stg_win50 on
2014/11/07 15:15:14
EPR #405372 - [CQE DTB][valgrind][OCL2.0]: MemLeaks are observed with OCLDynamic in oclruntime module of ocltst.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#182 edit
[ROCm/clr commit: 5fd5a428bb6256a1051c4723555c07e0095be0b8]
---
projects/clr/rocclr/runtime/device/gpu/gpuprogram.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/projects/clr/rocclr/runtime/device/gpu/gpuprogram.cpp b/projects/clr/rocclr/runtime/device/gpu/gpuprogram.cpp
index 50f1b93391..ab928bdf02 100644
--- a/projects/clr/rocclr/runtime/device/gpu/gpuprogram.cpp
+++ b/projects/clr/rocclr/runtime/device/gpu/gpuprogram.cpp
@@ -1796,6 +1796,7 @@ HSAILProgram::~HSAILProgram()
LogWarning( "Error while destroying the acl binary \n" );
}
}
+ releaseClBinary();
delete globalStore_;
delete kernels_;
}