Commit 6bca5f6f authored by Lionel Debroux's avatar Lionel Debroux Committed by Alexandre Julliard

itss: Remove redundant NULL check before free (found by Smatch).

parent 29ddd491
...@@ -854,7 +854,6 @@ void chm_close(struct chmFile *h) ...@@ -854,7 +854,6 @@ void chm_close(struct chmFile *h)
int i; int i;
for (i=0; i<h->cache_num_blocks; 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); HeapFree(GetProcessHeap(), 0, h->cache_blocks);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment