Fix possible free'd pointer dereference in dhcp_client. Possible fix for #171.

Waiting for RFtest results.