summaryrefslogtreecommitdiff
path: root/tests/unit/plugins
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2024-04-25 19:55:01 +0200
committerSébastien Helleu <flashcode@flashtux.org>2024-04-26 21:21:48 +0200
commit7438d2c737b5288e5976537b3161fc966f394aa4 (patch)
tree8ca7da10c05b9e29749c7a047a73ed9d4b623df3 /tests/unit/plugins
parented48819b77fedbe962e634403e85c3c72bb4c3ca (diff)
downloadweechat-7438d2c737b5288e5976537b3161fc966f394aa4.zip
alias: remove check of NULL pointers before calling alias_free() (issue #865)
Diffstat (limited to 'tests/unit/plugins')
-rw-r--r--tests/unit/plugins/alias/test-alias.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/plugins/alias/test-alias.cpp b/tests/unit/plugins/alias/test-alias.cpp
index b98214085..aaf7cea06 100644
--- a/tests/unit/plugins/alias/test-alias.cpp
+++ b/tests/unit/plugins/alias/test-alias.cpp
@@ -228,7 +228,8 @@ TEST(Alias, Rename)
TEST(Alias, Free)
{
- /* TODO: write tests */
+ /* test free of NULL alias */
+ alias_free (NULL);
}
/*