diff --git a/src/util.c b/src/util.c index add739a..dd4f2a1 100644 --- a/src/util.c +++ b/src/util.c @@ -17,6 +17,10 @@ Options GLOBAL_OPTS; void cleanup_options(Options *opts) { FREE_CHECKED(opts->config_path); FREE_CHECKED(opts->gpio_path); + FREE_CHECKED(opts->temp_key); + FREE_CHECKED(opts->humid_key); + FREE_CHECKED(opts->fail_key); + FREE_CHECKED(opts->lcd_version); } void *malloc_checked(size_t n) {