nng_msg_free

NAME

nng_msg_free — free a message

SYNOPSIS

#include <nng/nng.h>

void nng_msg_free(nng_msg *msg);

DESCRIPTION

The nng_msg_free() function deallocates the message msg entirely.

SEE ALSO

nng_msg_alloc, nng_msg_realloc