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,8 +854,7 @@ void chm_close(struct chmFile *h)
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;
......
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