Skip to content

Commit 896434b

Browse files
committed
pmix/ext2x: plug a memory leak in opal_lkupcbfunc()
Signed-off-by: Gilles Gouaillardet <[email protected]>
1 parent 6b8e1c2 commit 896434b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

opal/mca/pmix/ext2x/pmix2x_server_north.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-2015 Mellanox Technologies, Inc.
77
* All rights reserved.
@@ -433,6 +433,7 @@ static void opal_lkupcbfunc(int status,
433433
}
434434
}
435435
opalcaddy->lkupcbfunc(rc, d, nd, opalcaddy->cbdata);
436+
PMIX_PDATA_FREE(d, nd);
436437
}
437438
OBJ_RELEASE(opalcaddy);
438439
}

0 commit comments

Comments
 (0)