diff options
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/core/test-core-string.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit/core/test-core-string.cpp b/tests/unit/core/test-core-string.cpp index 580fc64ce..73750c0ab 100644 --- a/tests/unit/core/test-core-string.cpp +++ b/tests/unit/core/test-core-string.cpp @@ -2902,6 +2902,9 @@ TEST(CoreString, Shared) string_shared_free (str3); LONGS_EQUAL(count + 0, string_hashtable_shared->items_count); + + /* test free of NULL */ + string_shared_free (NULL); } /* |