task #9192: mem_free of dhcp->options_in and dhcp->msg_in

This commit is contained in:
goldsimon 2009-04-15 19:53:59 +00:00
parent 580f334274
commit 620b3e6739
2 changed files with 4 additions and 0 deletions

View File

@ -83,6 +83,9 @@ HISTORY
++ Bugfixes: ++ Bugfixes:
2009-04-15 Simon Goldschmidt
* dhcp.c: task #9192: mem_free of dhcp->options_in and dhcp->msg_in
2009-04-15 Simon Goldschmidt 2009-04-15 Simon Goldschmidt
* ip.c, ip6.c, tcp_out.c, ip.h: patch #6808: Add a utility function * ip.c, ip6.c, tcp_out.c, ip.h: patch #6808: Add a utility function
ip_hinted_output() (for smaller code mainly) ip_hinted_output() (for smaller code mainly)

View File

@ -1348,6 +1348,7 @@ static void dhcp_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, struct ip_
dhcp_handle_offer(netif); dhcp_handle_offer(netif);
} }
free_pbuf_and_return: free_pbuf_and_return:
dhcp_free_reply(dhcp);
pbuf_free(p); pbuf_free(p);
dhcp->p = NULL; dhcp->p = NULL;
} }