diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2018-07-08 14:48:06 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2018-07-08 14:48:06 +0200 |
commit | 14a929341efa2669fc377a0f25093e7dd35d1ede (patch) | |
tree | 4de8674eeceebf965c40756a13402a99aa94f6e3 /src/plugins/fset | |
parent | c17ab6aa0051b09592f062c3d1fb5e1b0b8f328a (diff) | |
download | weechat-14a929341efa2669fc377a0f25093e7dd35d1ede.zip |
fset: fix memory leak when switching the format with ctrl-X
Diffstat (limited to 'src/plugins/fset')
-rw-r--r-- | src/plugins/fset/fset-option.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/fset/fset-option.c b/src/plugins/fset/fset-option.c index 6b3e32f59..9067c094e 100644 --- a/src/plugins/fset/fset-option.c +++ b/src/plugins/fset/fset-option.c @@ -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) |