SWDEV-533754 - Fixed mem leak in capturing gpu packets (#365)

Этот коммит содержится в:
Assiouras, Ioannis
2025-08-04 14:58:04 +01:00
коммит произвёл GitHub
родитель 2a02d2c2f3
Коммит f094d16157
+1
Просмотреть файл
@@ -249,6 +249,7 @@ class GraphNode : public hipGraphNodeDOTAttribute {
return status;
}
std::for_each(gpuPackets_.begin(), gpuPackets_.end(), [](auto p) { delete[] p; });
gpuPackets_.clear();
for (auto& command : commands_) {
command->setPktCapturingState(true, &gpuPackets_, kernArgMgr, &capturedKernelName_);