diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-07-04 23:59:06 +0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-07-05 02:51:46 +0200 |
commit | f416c85366a3e85e7f7576398f55595de51adc52 (patch) | |
tree | 8fdb0a91865eaa8a58c84d3e97112601b318b460 /tests | |
parent | 4c228763c31255ea9bd3cd1bbd93f5cf7ab9f54b (diff) | |
download | blogc-f416c85366a3e85e7f7576398f55595de51adc52.tar.gz blogc-f416c85366a3e85e7f7576398f55595de51adc52.tar.bz2 blogc-f416c85366a3e85e7f7576398f55595de51adc52.zip |
renderer: utils: fixed memory bugs found by clang static analyzer
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check_utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |