You're reading the documentation for a development version.
For the latest stable release version, please have a look at master.

Function destroy_app_ctx

Function Documentation

void destroy_app_ctx(app_ctx_t *model)

释放 app_ctx_t 中所有由 model_init 分配的资源

参数:

model -- [IN,OUT] 已成功调用过 model_init 的 app_ctx_t 结构体指针; 函数会释放 model->tmp0_buffer \ model->norm_buffer \ model->tmp1_buffer \ model->ctx 及它们内部的 data 指针,并将这些指针置 NULL