mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-16 08:21:20 -04:00
Don't leak memory all over the place.
This commit is contained in:
parent
6505d75607
commit
13291b8765
1 changed files with 2 additions and 0 deletions
2
config.c
2
config.c
|
|
@ -3803,6 +3803,8 @@ config_reload_colors(struct config *conf)
|
||||||
// loading the config?
|
// loading the config?
|
||||||
|
|
||||||
conf->colors = new_conf.colors;
|
conf->colors = new_conf.colors;
|
||||||
|
|
||||||
|
config_free(&new_conf);
|
||||||
}
|
}
|
||||||
|
|
||||||
UNITTEST
|
UNITTEST
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue