ngtcp2_transport_params_del

Synopsis

#include <ngtcp2/ngtcp2.h>

void ngtcp2_transport_params_del(ngtcp2_transport_params *params, const ngtcp2_mem *mem)

ngtcp2_transport_params_del() frees the params which must be dynamically allocated by ngtcp2_transport_params_decode_new().

mem is a memory allocator that allocated params. If mem is NULL, the memory allocator returned by ngtcp2_mem_default() is used.

If params is NULL, this function does nothing.