X-Git-Url: http://git.maemo.org/git/?p=browser-switch;a=blobdiff_plain;f=main.c;h=40823e387dcbb2a51dc25f76d74fff76e00c93cc;hp=30361c866563a6fbe3f14429d1611224abadc419;hb=667d7d137083b1d65c167ee4b29f88361802247c;hpb=ec8b58af1b1cf22f34478faf476047e7ce996245 diff --git a/main.c b/main.c index 30361c8..40823e3 100644 --- a/main.c +++ b/main.c @@ -50,6 +50,7 @@ static void read_config(int signalnum) { log_config(cfg.logging); ctx.continuous_mode = cfg.continuous_mode; + free(ctx.other_browser_cmd); if (cfg.other_browser_cmd) { if (!(ctx.other_browser_cmd = strdup(cfg.other_browser_cmd))) { log_perror(errno, "Failed to set other_browser_cmd");