1 2 3 4 5 6 7 8 9 10 11 12
/* See LICENSE file for copyright and license details. */ #include "common.h" void libaxl_context_free(LIBAXL_CONTEXT *ctx) { if (ctx && !--ctx->refcount) { free(ctx->out_buf); free(ctx->in_buf); free(ctx); } }