close(phd->fd);
free(rn->buf);
free(rn->private_data);
+ http_recv_cmdline_parser_free(rn->conf);
}
static void *http_recv_parse_config(int argc, char **argv)
rn->private_data = phd = para_calloc(sizeof(struct private_http_recv_data));
phd->fd = fd;
phd->status = HTTP_CONNECTED;
- if (conf->buffer_tree_given)
- rn->btrn = btr_new_node("receiver", NULL, NULL, NULL);
return 1;
}