summaryrefslogtreecommitdiff
path: root/tests/unit/core
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2024-04-25 19:23:22 +0200
committerSébastien Helleu <flashcode@flashtux.org>2024-04-26 20:59:44 +0200
commit561dd92d8eba49ed2ae16fc4a0a1fb6ff349758b (patch)
treed9d4ecabb68dc17040c4dacc61b0e76f9ebd8c89 /tests/unit/core
parent619b40b42ff6474a6cbeb5fe1bdeb306370895f4 (diff)
downloadweechat-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.cpp3
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);
}
/*