diff options
author | Valentin Batz <senneth@irssi.org> | 2005-03-07 06:20:55 +0000 |
---|---|---|
committer | vb <vb@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2005-03-07 06:20:55 +0000 |
commit | 8ec7c164d6bdd5700f01f286aef9b9f48473aa48 (patch) | |
tree | c4c7c1ad2582635f80f49d3231b72f28504efa6a /src | |
parent | 49c8ba40584ef17cd089d3bb3d6dd44f7c059828 (diff) | |
download | irssi-8ec7c164d6bdd5700f01f286aef9b9f48473aa48.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-common/core/fe-recode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/fe-recode.c b/src/fe-common/core/fe-recode.c index afdfa431..c1b74d0b 100644 --- a/src/fe-common/core/fe-recode.c +++ b/src/fe-common/core/fe-recode.c @@ -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); |