From 0cbda7f51f88a5b1e35a7a9593bfe94dd5e4f7da Mon Sep 17 00:00:00 2001 From: Rahul Manocha Date: Mon, 30 Sep 2024 14:59:06 -0700 Subject: [PATCH] SWDEV-488304 - Fix memleak in hipIpcEventHandle test Change-Id: Iaa51c7ba4d1fed52d08ed6f956d807c0fb2cc470 [ROCm/hip-tests commit: 823cc198f9d559941f915d14544cf371703f51d1] --- projects/hip-tests/catch/multiproc/hipIpcEventHandle.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/hip-tests/catch/multiproc/hipIpcEventHandle.cc b/projects/hip-tests/catch/multiproc/hipIpcEventHandle.cc index 22d9b55265..bd6fdff296 100644 --- a/projects/hip-tests/catch/multiproc/hipIpcEventHandle.cc +++ b/projects/hip-tests/catch/multiproc/hipIpcEventHandle.cc @@ -373,6 +373,7 @@ TEST_CASE("Unit_hipIpcEventHandle_ParameterValidation") { INFO("Error returned : " << ret); REQUIRE(false); } + HIP_CHECK(hipEventDestroy(eventNoIpc)); } SECTION("Open event handle with event(nullptr)") {