.\" Man page generated from reStructuredText
.\" by the Docutils 0.23 manpage writer.
.
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.TH "PMIX_QUERY_RELEASE" "3" "Nov 21, 2026" "" "OpenPMIx"
.sp
\fBPMIx_Query_release\fP — Release a single
pmix_query_t(5) \%<#\:man5-pmix-query-t> structure and its contents.
.SH SYNOPSIS
.INDENT 0.0
.INDENT 3.5
.sp
.EX
#include <pmix.h>

void PMIx_Query_release(pmix_query_t *p);
.EE
.UNINDENT
.UNINDENT
.SS Python Syntax
.sp
No Python equivalent
.SH INPUT PARAMETERS
.INDENT 0.0
.IP \(bu 2
\fBp\fP: Pointer to the single pmix_query_t(5) \%<#\:man5-pmix-query-t>
structure to be released.
.UNINDENT
.SH DESCRIPTION
.sp
Release a single heap\-allocated pmix_query_t \%<#\:man5-pmix-query-t>
structure. The function destructs the structure — freeing its \fBkeys\fP
and \fBqualifiers\fP contents — and then frees the storage of the structure
itself. It is exactly equivalent to calling PMIx_Query_free(3) \%<#\:man3-pmix-query-free> with a count of \fB1\fP\&.
.sp
If \fBp\fP is \fBNULL\fP, the function does nothing.
.SH RETURN VALUE
.sp
\fBPMIx_Query_release\fP returns no value (\fBvoid\fP).
.SH NOTES
.sp
The \fBPMIX_QUERY_RELEASE\fP convenience macro is a direct wrapper for this
function; in addition to calling it, the macro sets the caller’s pointer to
\fBNULL\fP\&.
.sp
\fBPMIx_Query_release\fP frees the structure storage and must therefore be used
only on storage the library allocated (for example, the single\-element array
returned by PMIx_Query_create(3) \%<#\:man3-pmix-query-create> with
\fBn == 1\fP). For a caller\-provided (stack or embedded) structure, use
PMIx_Query_destruct(3) \%<#\:man3-pmix-query-destruct> instead.
.sp
\fBSee also:\fP
.INDENT 0.0
.INDENT 3.5
PMIx_Query_construct(3) \%<#\:man3-pmix-query-construct>,
PMIx_Query_destruct(3) \%<#\:man3-pmix-query-destruct>,
PMIx_Query_create(3) \%<#\:man3-pmix-query-create>,
PMIx_Query_free(3) \%<#\:man3-pmix-query-free>,
PMIx_Query_qualifiers_create(3) \%<#\:man3-pmix-query-qualifiers-create>,
pmix_query_t(5) \%<#\:man5-pmix-query-t>
.UNINDENT
.UNINDENT
.SH Copyright
2014-2026, OpenPMIx Community
.\" End of generated man page.
