free old browser_cmd[0]
This commit is contained in:
parent
9b6c44f487
commit
90d1685188
|
@ -329,6 +329,7 @@ static void load_config(GtkWindow *window, VteTerminal *vte, bool first_run,
|
||||||
*clickable_url = cfgbool;
|
*clickable_url = cfgbool;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_free(browser_cmd[0]);
|
||||||
if (get_config_string(config, "options", "browser", &cfgstr)) {
|
if (get_config_string(config, "options", "browser", &cfgstr)) {
|
||||||
browser_cmd[0] = cfgstr;
|
browser_cmd[0] = cfgstr;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue