From 7438d2c737b5288e5976537b3161fc966f394aa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Thu, 25 Apr 2024 19:55:01 +0200 Subject: alias: remove check of NULL pointers before calling alias_free() (issue #865) --- tests/unit/plugins/alias/test-alias.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/unit') 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); } /* -- cgit v1.2.3