diff options
Diffstat (limited to 'com32/modules/readconfig.c')
-rw-r--r-- | com32/modules/readconfig.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/com32/modules/readconfig.c b/com32/modules/readconfig.c index fb9c3d6a..79351902 100644 --- a/com32/modules/readconfig.c +++ b/com32/modules/readconfig.c @@ -405,6 +405,8 @@ static void parse_config_file(FILE *f) } } else if ( (ep = looking_at(p, "background")) ) { p = skipspace(ep); + if (menu_background) + free(menu_background); menu_background = dup_word(&p); } else if ((ep = looking_at(p, "color")) || (ep = looking_at(p, "colour"))) { |