From a05b4c9bedfe99815eb887903e7687fe2d1bb3f9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 13 Aug 2020 17:25:52 +0200 Subject: Make zix_hash_free() tolerate NULL --- test/hash_test.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') diff --git a/test/hash_test.c b/test/hash_test.c index 8b3e9de..ea808e6 100644 --- a/test/hash_test.c +++ b/test/hash_test.c @@ -202,6 +202,8 @@ stress(void) int main(void) { + zix_hash_free(NULL); + if (stress()) { return 1; } -- cgit v1.2.1