diff options
Diffstat (limited to 'tests/unit/core')
-rw-r--r-- | tests/unit/core/test-core-arraylist.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit/core/test-core-arraylist.cpp b/tests/unit/core/test-core-arraylist.cpp index dd6d3b369..2f8d1ceb2 100644 --- a/tests/unit/core/test-core-arraylist.cpp +++ b/tests/unit/core/test-core-arraylist.cpp @@ -481,6 +481,9 @@ TEST(CoreArraylist, New) { int initial_size, sorted, allow_duplicates; + /* free arraylist with NULL pointer */ + arraylist_free (NULL); + /* * in order to create an arraylist, initial_size must be >= 0 and a * comparison callback must be given |