| commit | 6bca5f6fa086a06ab2bd1846d21d4bcb2d55d491 | [log] [tgz] |
|---|---|---|
| author | Lionel Debroux <lionel_debroux@yahoo.fr> | Sat Oct 20 09:32:38 2007 +0200 |
| committer | Alexandre Julliard <julliard@winehq.org> | Mon Oct 22 12:36:08 2007 +0200 |
| tree | cbb15e1f460ad7fdae1297a197b96a6c6424f6db | |
| parent | 29ddd491307c23f9841ab30dff24c373c4480ce9 [diff] |
itss: Remove redundant NULL check before free (found by Smatch).
diff --git a/dlls/itss/chm_lib.c b/dlls/itss/chm_lib.c index 788ec54..67954ac 100644 --- a/dlls/itss/chm_lib.c +++ b/dlls/itss/chm_lib.c
@@ -854,8 +854,7 @@ int i; for (i=0; i<h->cache_num_blocks; i++) { - if (h->cache_blocks[i]) - HeapFree(GetProcessHeap(), 0, h->cache_blocks[i]); + HeapFree(GetProcessHeap(), 0, h->cache_blocks[i]); } HeapFree(GetProcessHeap(), 0, h->cache_blocks); h->cache_blocks = NULL;