table of contents
| PMIX_INFO_LIST_RELEASE(3) | OpenPMIx | PMIX_INFO_LIST_RELEASE(3) |
PMIx_Info_list_release — Free an opaque pmix_info_t(5) <#man5-pmix-info-t> list and all of its entries
SYNOPSIS¶
#include <pmix.h> void PMIx_Info_list_release(void *ptr);
Python Syntax¶
No Python equivalent
INPUT PARAMETERS¶
- •
- ptr: Opaque list handle returned by PMIx_Info_list_start(3) <#man3-pmix-info-list-start>.
DESCRIPTION¶
Release the list identified by ptr. All pmix_info_t <#man5-pmix-info-t> entries on the list are destructed — freeing the data each holds — and the backing list object allocated by PMIx_Info_list_start(3) <#man3-pmix-info-list-start> is itself freed. After this call the handle is no longer valid and must not be reused.
This is the terminal step of the list-building workflow. It is safe (and expected) to call PMIx_Info_list_release after PMIx_Info_list_convert(3) <#man3-pmix-info-list-convert>, because the array produced by that conversion is an independent deep copy that is unaffected by releasing the list.
Note that entries added with PMIx_Info_list_insert(3) <#man3-pmix-info-list-insert> were stored by reference and marked persistent; their payload is not freed by this call, and remains the caller’s responsibility.
RETURN VALUE¶
PMIx_Info_list_release returns no value (void).
NOTES¶
Every handle obtained from PMIx_Info_list_start(3) <#man3-pmix-info-list-start> must be released exactly once to avoid leaking memory.
See also:
Copyright¶
2014-2026, OpenPMIx Community
| November 5, 2026 |