fix minor leak
This commit is contained in:
parent
8b97b04cd1
commit
f1ff458911
|
@ -642,6 +642,7 @@ static void load_config(GtkWindow *window, VteTerminal *vte, config_info *info,
|
||||||
g_printerr("invalid color string: %s\n", cfgstr);
|
g_printerr("invalid color string: %s\n", cfgstr);
|
||||||
success = false;
|
success = false;
|
||||||
}
|
}
|
||||||
|
g_free(cfgstr);
|
||||||
} else {
|
} else {
|
||||||
if (i < 16) {
|
if (i < 16) {
|
||||||
palette[i].blue = (i & 4) ? 0xc000 : 0;
|
palette[i].blue = (i & 4) ? 0xc000 : 0;
|
||||||
|
|
Loading…
Reference in New Issue