SWDEV-1 - Some 'delete' clean up

Change-Id: I02564f0f0e349375bde1471e9f82df268703367b


[ROCm/clr commit: 73967c3b17]
This commit is contained in:
Jason Tang authored and Jason Tang committed 2021-09-09 12:12:40 -04:00
1 förälder 3f5d248508
incheckning e94aec09bd
13 files changed
+49 -123

No files matched your search

@@ -1086,10 +1086,8 @@ VirtualGPU::~VirtualGPU() {
timestamp_ = nullptr;
LogError("There was a timestamp that was not used; deleting.");
}
if (printfdbg_ != nullptr) {
delete printfdbg_;
printfdbg_ = nullptr;
}
delete printfdbg_;
if (0 != schedulerSignal_.handle) {
hsa_signal_destroy(schedulerSignal_);