mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-18 20:10:53 +00:00
task #9192: mem_free of dhcp->options_in and dhcp->msg_in
This commit is contained in:
parent
580f334274
commit
620b3e6739
@ -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)
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user