diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2024-04-25 19:23:22 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2024-04-26 20:59:44 +0200 |
commit | 561dd92d8eba49ed2ae16fc4a0a1fb6ff349758b (patch) | |
tree | d9d4ecabb68dc17040c4dacc61b0e76f9ebd8c89 /tests/unit/core | |
parent | 619b40b42ff6474a6cbeb5fe1bdeb306370895f4 (diff) | |
download | weechat-561dd92d8eba49ed2ae16fc4a0a1fb6ff349758b.zip |
plugins: remove check of NULL pointers before calling weechat_config_option_free() (issue #865)
Diffstat (limited to 'tests/unit/core')
-rw-r--r-- | tests/unit/core/test-core-config-file.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/core/test-core-config-file.cpp b/tests/unit/core/test-core-config-file.cpp index b1f369685..ecda87467 100644 --- a/tests/unit/core/test-core-config-file.cpp +++ b/tests/unit/core/test-core-config-file.cpp @@ -1540,7 +1540,8 @@ TEST(CoreConfigFile, OptionFreeData) TEST(CoreConfigFile, OptionFree) { - /* TODO: write tests */ + /* test free of NULL option */ + config_file_option_free (NULL, 1); } /* |