diff --git a/lib/ff_config.c b/lib/ff_config.c index ed9de2ba3..441b46c4e 100644 --- a/lib/ff_config.c +++ b/lib/ff_config.c @@ -191,6 +191,7 @@ freebsd_conf_handler(struct ff_config *cfg, const char *section, } } else { fprintf(stderr, "freebsd conf section[%s] error\n", section); + free(newconf); return 0; }