From 13291b87654f1b91e8cc8a1c9e193ceb50152cff Mon Sep 17 00:00:00 2001 From: wreald Date: Fri, 20 Sep 2024 11:27:44 +1000 Subject: [PATCH] Don't leak memory all over the place. --- config.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.c b/config.c index 574ee6e2..dc033f27 100644 --- a/config.c +++ b/config.c @@ -3803,6 +3803,8 @@ config_reload_colors(struct config *conf) // loading the config? conf->colors = new_conf.colors; + + config_free(&new_conf); } UNITTEST