diff options
Diffstat (limited to 'tests/unit/core')
-rw-r--r-- | tests/unit/core/test-core-hashtable.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit/core/test-core-hashtable.cpp b/tests/unit/core/test-core-hashtable.cpp index 2e8e92a1c..cc6ff0f8a 100644 --- a/tests/unit/core/test-core-hashtable.cpp +++ b/tests/unit/core/test-core-hashtable.cpp @@ -177,6 +177,9 @@ TEST(CoreHashtable, SetGetRemove) unsigned long long hash; int i; + /* free hashtable with NULL pointer */ + hashtable_free (NULL); + hashtable = hashtable_new (32, WEECHAT_HASHTABLE_STRING, WEECHAT_HASHTABLE_STRING, |