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

Co-authored-by: Anusha GodavarthySurya <Anusha.GodavarthySurya@amd.com>
This commit is contained in:
Godavarthy Surya, Anusha
2025-09-19 17:39:36 +05:30
committed by GitHub
parent 9f5b390db4
commit ce560304a8
21 changed files with 78 additions and 60 deletions
@@ -151,6 +151,7 @@ TEST_CASE("Unit_hipGraphExecMemcpyNodeSetParamsToSymbol_Negative") {
HIP_SYMBOL(globalOut), HIP_SYMBOL(globalIn),
Nbytes, 0, hipMemcpyDeviceToDevice);
REQUIRE(hipErrorInvalidValue == ret);
HIP_CHECK(hipGraphDestroy(graph1));
}
HipTest::freeArrays<int>(A_d, B_d, C_d, A_h, B_h, nullptr, false);