Signed-off-by: Olivier Matz <zer0@droids-corp.org>
unsigned flags = tkd->flags;
unsigned mask = tkd->mask;
unsigned flags = tkd->flags;
unsigned mask = tkd->mask;
cb = malloc(sizeof(*cb));
if (cb == NULL)
return -1;
cb = malloc(sizeof(*cb));
if (cb == NULL)
return -1;
static void
complete_conf_node_end(cmdline_parse_token_hdr_t *tk, void **opaque)
{
static void
complete_conf_node_end(cmdline_parse_token_hdr_t *tk, void **opaque)
{
+ if (*opaque)
+ free(*opaque);
}
int help_conf_node(cmdline_parse_token_hdr_t *tk, char *dstbuf, unsigned int size)
}
int help_conf_node(cmdline_parse_token_hdr_t *tk, char *dstbuf, unsigned int size)