diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2024-04-25 19:55:01 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2024-04-26 21:21:48 +0200 |
commit | 7438d2c737b5288e5976537b3161fc966f394aa4 (patch) | |
tree | 8ca7da10c05b9e29749c7a047a73ed9d4b623df3 /tests/unit/plugins | |
parent | ed48819b77fedbe962e634403e85c3c72bb4c3ca (diff) | |
download | weechat-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.cpp | 3 |
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); } /* |