Remove unnecessary break statement in swb_config_load_option()
[browser-switch] / main.c
diff --git a/main.c b/main.c
index 30361c8..40823e3 100644 (file)
--- 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");