Skip to content

Commit b5b2104

Browse files
committed
pmix2x: plug a memory leak in _reg_nspace()
Signed-off-by: Gilles Gouaillardet <[email protected]>
1 parent 0f47310 commit b5b2104

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

opal/mca/pmix/pmix2x/pmix2x_server_south.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
22
/*
33
* Copyright (c) 2014-2017 Intel, Inc. All rights reserved.
4-
* Copyright (c) 2014-2016 Research Organization for Information Science
4+
* Copyright (c) 2014-2017 Research Organization for Information Science
55
* and Technology (RIST). All rights reserved.
66
* Copyright (c) 2014-2016 Intel, Inc. All rights reserved.
77
* Copyright (c) 2014 Mellanox Technologies, Inc.
@@ -242,6 +242,7 @@ static void _reg_nspace(int sd, short args, void *cbdata)
242242
pmix2x_value_load(&pmap[m].value, k2);
243243
++m;
244244
}
245+
OPAL_LIST_RELEASE(pmapinfo);
245246
} else {
246247
pmix2x_value_load(&pinfo[n].value, kv);
247248
}

0 commit comments

Comments
 (0)