From 823cc198f9d559941f915d14544cf371703f51d1 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 --- catch/multiproc/hipIpcEventHandle.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/catch/multiproc/hipIpcEventHandle.cc b/catch/multiproc/hipIpcEventHandle.cc index 22d9b55265..bd6fdff296 100644 --- a/catch/multiproc/hipIpcEventHandle.cc +++ b/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)") {