static void prebuffer_close(struct filter_node *fn)
{
free(fn->private_data);
- free(fn->buf);
}
static void prebuffer_post_select(__a_unused struct sched *s, struct task *t)
ppd->conf = fn->conf;
fn->private_data = ppd;
- fn->bufsize = 8192; /* gets increased on demand */
- fn->buf = para_malloc(fn->bufsize);
}
static void prebuffer_free_config(void *conf)