From: Roy Marples Date: Mon, 10 Oct 2016 08:47:13 +0000 (+0000) Subject: If there is no announced_cb, free the arp state. X-Git-Tag: v6.11.6~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8a5ad72fda7d8cfcd4e1c53eab84bd3c741a114d;p=thirdparty%2Fdhcpcd.git If there is no announced_cb, free the arp state. --- diff --git a/arp.c b/arp.c index b6c08b6a..88fc8276 100644 --- a/arp.c +++ b/arp.c @@ -235,7 +235,8 @@ arp_announced(void *arg) return; } - /* Keep ARP open so we can detect duplicates. */ + /* As there is no announced callback, free the ARP state. */ + arp_free(astate); } static void