summaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/core/test-core-infolist.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit/core/test-core-infolist.cpp b/tests/unit/core/test-core-infolist.cpp
index 423a041e0..8347dff9f 100644
--- a/tests/unit/core/test-core-infolist.cpp
+++ b/tests/unit/core/test-core-infolist.cpp
@@ -253,6 +253,9 @@ TEST(CoreInfolist, Valid)
infolist_free (infolist);
LONGS_EQUAL(0, infolist_valid (infolist));
+
+ /* test free of NULL infolist */
+ infolist_free (NULL);
}
/*