diff options
-rw-r--r-- | ChangeLog.adoc | 2 | ||||
-rw-r--r-- | src/core/wee-config-file.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ChangeLog.adoc b/ChangeLog.adoc index 55837af82..7cd5ebf21 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -27,7 +27,7 @@ New features:: Bug fixes:: - * core: call hook config when options are freed by unset or when file/section is freed + * core: call hook config when options are removed * core: display an error with command `/history N` when N is not a valid integer * core: fix memory leak when config version is invalid or not supported * core: fix crash when "config_version" is present in a configuration file without a value diff --git a/src/core/wee-config-file.c b/src/core/wee-config-file.c index 27c90bdd6..71fb7ef72 100644 --- a/src/core/wee-config-file.c +++ b/src/core/wee-config-file.c @@ -2232,7 +2232,7 @@ config_file_option_unset (struct t_config_option *option) } else { - config_file_option_free (option, 1); + config_file_option_free (option, 0); rc = WEECHAT_CONFIG_OPTION_UNSET_OK_REMOVED; } |