fset: fix memory leak when switching the format with ctrl-X

v2.8-utf8proc
Sébastien Helleu 2018-07-08 14:48:06 +02:00
parent c17ab6aa00
commit 14a929341e
2 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,7 @@ Bug fixes::
* core: fix delete of previous/next word (keys kbd:[Ctrl+w] and kbd:[Alt+d]) (issue #1195)
* core: fix infinite loop in evaluation of strings (issue #1183)
* core: change default value of option weechat.look.window_title from "WeeChat ${info:version}" to empty string (issue #1182)
* fset: fix memory leak when switching the format with kbd:[Ctrl+x]
* fset: fix truncation of option values when the length is greater than 4096 (issue #1218)
* fset: fix crash when applying filters after closing the fset buffer (issue #1204)
* irc: display message 354 (WHOX) received with missing parameters (issue #1212)

View File

@ -1430,6 +1430,7 @@ fset_option_config_changed (const char *option_name)
/* option added: get options and refresh the whole buffer */
full_refresh = 1;
}
fset_option_free (new_fset_option);
}
if (full_refresh)