mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Free the right memory in fe-recode.c (related to bug 210)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3719 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
49c8ba4058
commit
8ec7c164d6
@ -157,7 +157,7 @@ static void read_settings(void)
|
||||
const char *old_recode_out_default = g_strdup(recode_out_default);
|
||||
|
||||
if (recode_fallback)
|
||||
g_free(term_charset);
|
||||
g_free(recode_fallback);
|
||||
recode_fallback = g_strdup(settings_get_str("recode_fallback"));
|
||||
if (!is_valid_charset(recode_fallback)) {
|
||||
signal_emit("error command", 2, GINT_TO_POINTER(CMDERR_INVALID_CHARSET), recode_fallback);
|
||||
|
Loading…
Reference in New Issue
Block a user