SWDEV-548417 - Fix Memleaks in Graph (#713)

Co-authored-by: Anusha GodavarthySurya <Anusha.GodavarthySurya@amd.com>
This commit is contained in:
Godavarthy Surya, AnushaésAnusha GodavarthySurya authored and GitHub committed 2025-09-19 17:39:36 +05:30
1 szülő 9f5b390db4
commit ce560304a8
21 files changed
+78 -60

No files matched your search

@@ -1518,6 +1518,7 @@ hipError_t ihipGraphInstantiate(hip::GraphExec** pGraphExec, hip::Graph* graph,
graph->clone(*pGraphExec, true);
(*pGraphExec)->ScheduleNodes();
if (false == (*pGraphExec)->TopologicalOrder()) {
delete *pGraphExec;
return hipErrorInvalidValue;
}
graph->SetGraphInstantiated(true);