free the font string
This commit is contained in:
parent
a5cfc12864
commit
4de7c2d2f5
|
@ -287,6 +287,7 @@ static void load_config(GtkWindow *window, VteTerminal *vte) {
|
||||||
gchar *font = g_key_file_get_string(config, "options", "font", &error);
|
gchar *font = g_key_file_get_string(config, "options", "font", &error);
|
||||||
IGNORE_ON_ERROR(error) {
|
IGNORE_ON_ERROR(error) {
|
||||||
vte_terminal_set_font_from_string(vte, font);
|
vte_terminal_set_font_from_string(vte, font);
|
||||||
|
g_free(font);
|
||||||
}
|
}
|
||||||
|
|
||||||
gint scrollback_lines = g_key_file_get_integer(config, "options", "scrollback_lines", &error);
|
gint scrollback_lines = g_key_file_get_integer(config, "options", "scrollback_lines", &error);
|
||||||
|
|
Loading…
Reference in New Issue