nghttp2_buf_free

Synopsis

#include <nghttp2v2/nghttp2.h>

void nghttp2_buf_free(nghttp2_buf *buf, const nghttp2_mem *mem)

nghttp2_buf_free() frees resources allocated for buf using mem as memory allocator. buf->begin must be a heap buffer allocated by mem.