From f416c85366a3e85e7f7576398f55595de51adc52 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Mon, 4 Jul 2016 23:59:06 +0200 Subject: renderer: utils: fixed memory bugs found by clang static analyzer --- tests/check_utils.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/check_utils.c b/tests/check_utils.c index 31087f1..b76d171 100644 --- a/tests/check_utils.c +++ b/tests/check_utils.c @@ -938,6 +938,7 @@ test_trie_foreach(void **state) sb_trie_foreach(NULL, mock_foreach, "foo"); sb_trie_foreach(trie, NULL, "foo"); sb_trie_foreach(NULL, NULL, "foo"); + assert_int_equal(counter, 7); sb_trie_free(trie); } -- cgit v1.2.3-18-g5258