From df3d10865abd31a95554f967d2129799f3efbf17 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Tue, 27 Nov 2012 10:09:59 +0100 Subject: [PATCH] host: suppress double memory clear HostFree() is calling HostClearMemory() so calling HostClearMemory() before HostFree() is useless. --- src/host.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/host.c b/src/host.c index a86fd42508..a159df82bf 100644 --- a/src/host.c +++ b/src/host.c @@ -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; } -- 2.47.3