Skip to content

Commit 7a3d39f

Browse files
committed
pmix/ext2x: plug a memory leak in _reg_nspace()
Signed-off-by: Gilles Gouaillardet <[email protected]>
1 parent ef10d3f commit 7a3d39f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

opal/mca/pmix/ext2x/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-2016 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.
@@ -239,6 +239,7 @@ static void _reg_nspace(int sd, short args, void *cbdata)
239239
pmix2x_value_load(&pmap[m].value, k2);
240240
++m;
241241
}
242+
OPAL_LIST_RELEASE(pmapinfo);
242243
} else {
243244
pmix2x_value_load(&pinfo[n].value, kv);
244245
}

0 commit comments

Comments
 (0)