SWDEV-403050: Multiple fixes for Memory Leaks in profiler
Change-Id: Ib720a81105af13898ff745ce0cbc2a48c1f4a980
[ROCm/rocprofiler commit: 08fc21ac31]
This commit is contained in:
committed by
Ammar ELWazir
parent
935b40b837
commit
5a7dec797e
@@ -207,7 +207,8 @@ class Context {
|
||||
} catch(...) {
|
||||
delete obj;
|
||||
obj = NULL;
|
||||
throw;
|
||||
std::cerr << "Error: Context Create failed" << std::endl;
|
||||
abort();
|
||||
}
|
||||
return obj;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user