Skip to content

Commit 4f00e3e

Browse files
authored
Merge pull request #13173 from hppritcha/plug_ucx_os_mem_leak
OSC/UCX: plug a memory leak found by valgrind
2 parents 3a5f714 + 3203f47 commit 4f00e3e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ompi/mca/osc/ucx/osc_ucx_component.c

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Copyright (C) Mellanox Technologies Ltd. 2001-2017. ALL RIGHTS RESERVED.
33
* Copyright (c) 2018 Amazon.com, Inc. or its affiliates. All Rights reserved.
4-
* Copyright (c) 2021 Triad National Security, LLC. All rights
4+
* Copyright (c) 2021-2025 Triad National Security, LLC. All rights
55
* reserved.
66
*
77
* Copyright (c) 2022 IBM Corporation. All rights reserved.
@@ -352,6 +352,8 @@ static int component_finalize(void) {
352352
opal_common_ucx_mca_deregister();
353353
if (mca_osc_ucx_component.env_initialized) {
354354
opal_common_ucx_wpool_finalize(mca_osc_ucx_component.wpool);
355+
OBJ_DESTRUCT(&mca_osc_ucx_component.accumulate_requests);
356+
OBJ_DESTRUCT(&mca_osc_ucx_component.requests);
355357
}
356358
opal_common_ucx_wpool_free(mca_osc_ucx_component.wpool);
357359

0 commit comments

Comments
 (0)