Skip to content

Commit c5f6b64

Browse files
committed
Cleanup singletion IOF lists
Properly destruct the IOF-related lists used when in singleton mode. Signed-off-by: Ralph Castain <[email protected]>
1 parent e161a5e commit c5f6b64

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/client/pmix_client.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1113,6 +1113,10 @@ PMIX_EXPORT pmix_status_t PMIx_Finalize(const pmix_info_t info[], size_t ninfo)
11131113
}
11141114
}
11151115
PMIX_DESTRUCT(&pmix_client_globals.peers);
1116+
if (pmix_client_globals.singleton) {
1117+
PMIX_LIST_DESTRUCT(&pmix_server_globals.iof);
1118+
PMIX_LIST_DESTRUCT(&pmix_server_globals.iof_residuals);
1119+
}
11161120

11171121
if (0 <= pmix_client_globals.myserver->sd) {
11181122
CLOSE_THE_SOCKET(pmix_client_globals.myserver->sd);

0 commit comments

Comments
 (0)