Skip to content

Commit b078e57

Browse files
committed
pmix/ext1x: fix misc memory leaks in namespace registration
Signed-off-by: Gilles Gouaillardet <[email protected]>
1 parent f51fc29 commit b078e57

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

opal/mca/pmix/ext1x/pmix1x_server_south.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ int pmix1_server_register_nspace(opal_jobid_t jobid,
246246
pmix1_value_load(&pmap[m].value, k2);
247247
++m;
248248
}
249+
OPAL_LIST_RELEASE(pmapinfo);
249250
} else {
250251
pmix1_value_load(&pinfo[n].value, kv);
251252
}
@@ -268,6 +269,7 @@ int pmix1_server_register_nspace(opal_jobid_t jobid,
268269
if (PMIX_SUCCESS == rc) {
269270
PMIX_WAIT_FOR_COMPLETION(op.active);
270271
}
272+
PMIX_INFO_FREE(pinfo, sz);
271273
return pmix1_convert_rc(rc);
272274
}
273275

0 commit comments

Comments
 (0)