diff --git a/src/core/dhcp.c b/src/core/dhcp.c index 902c61ec..aae04b3c 100644 --- a/src/core/dhcp.c +++ b/src/core/dhcp.c @@ -163,6 +163,7 @@ static void dhcp_check(struct dhcp_state *state) DEBUGF(DHCP_DEBUG, ("dhcp_check(): sending ARP request len %u", p->tot_len)); result = state->netif->linkoutput(state->netif, p); pbuf_free(p); + p = NULL; } state->tries++; msecs = 500;