--- version: tip layout: manpage title: nng_tls_config_free(3tls) ---
{% if page.version and page.version != site.latest %} {% if page.version == "tip" %} {% include tip_version.html %} {% else %} {% include old_version.html %} {% endif %} {% endif %}

SYNOPSIS

#include <nng/nng.h>
#include <nng/supplemental/tls/tls.h>

void nng_tls_config_free(nng_tls_config *cfg);

DESCRIPTION

The nng_tls_config_free() decrements the reference count on the TLS configuration object pointed to by cfg, and if the resulting reference count is zero, then deallocates the configuration object.

RETURN VALUES

None.

ERRORS

None.