diff --git a/src/config.c b/src/config.c index 5a62704..f7e6d60 100644 --- a/src/config.c +++ b/src/config.c @@ -73,7 +73,9 @@ void init_config() // tint2 could reload config, so we cleanup objects cleanup_systray(); +#ifdef ENABLE_BATTERY cleanup_battery(); +#endif cleanup_clock(); cleanup_tooltip();