host: suppress double memory clear

HostFree() is calling HostClearMemory() so calling HostClearMemory()
before HostFree() is useless.
pull/230/head
Eric Leblond 12 years ago
parent 12fd60b545
commit df3d10865a

@ -266,7 +266,6 @@ void HostShutdown(void)
Host *h = host_hash[u].head;
while (h) {
Host *n = h->hnext;
HostClearMemory(h);
HostFree(h);
h = n;
}

Loading…
Cancel
Save