P4 to Git Change 1161448 by jatang@jatang-opencl-hsa-stg1 on 2015/06/15 11:08:17

EPR #419656 - Fix a double free.

	The double free is showing up when running a GEHC script that runs 6 OCL app simultanously.

	We'll later need to look at why elfOut_->hasError() is true.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#180 edit


[ROCm/clr commit: 95c9e2f9af]
此提交包含在:
foreman committed 2015-06-15 11:16:34 -04:00
1 父節點 99599f7ad9
當前提交 e64c956cfc
1 file changed
+1
+1
查看文件
@@ -1550,6 +1550,7 @@ bool ClBinary::setElfOut(unsigned char eclass, const char* outFile)
if ( (elfOut_ == NULL) || elfOut_->hasError() ) {
if (elfOut_) {
delete elfOut_;
elfOut_ = NULL;
}
LogError("Creating ouput ELF object failed");
return false;