diff options
Diffstat (limited to 'm_config.c')
-rw-r--r-- | m_config.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/m_config.c b/m_config.c index c6f031cdcb..fcf86e785f 100644 --- a/m_config.c +++ b/m_config.c @@ -463,10 +463,10 @@ static int m_config_parse_option(const struct m_config *config, char *arg, r = sr; } } - free(lst[2 * i]); - free(lst[2 * i + 1]); + talloc_free(lst[2 * i]); + talloc_free(lst[2 * i + 1]); } - free(lst); + talloc_free(lst); } else r = m_option_parse(co->opt, arg, param, set ? co->slots->data : NULL, config->mode); |