fix minor leak

This commit is contained in:
Daniel Micay 2012-07-27 05:05:27 -04:00
parent 8b97b04cd1
commit f1ff458911
1 changed files with 1 additions and 0 deletions

View File

@ -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;