forked from ARMmbed/mbed-os
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix memory leak if dhcp renew send fails (ARMmbed#1858)
If dhcp_service_send_req() returns failure during renew, previously allocated payload was not freed. Added check for return value and free for payload if request sending is failed.
- Loading branch information
Tero Heinonen
authored
Oct 11, 2018
1 parent
cbf99e7
commit 2ec9b6e
Showing
1 changed file
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters