Merge branch 'fix_possible_memory_leak' of ssh://github.com/KariHaapalehto/mbed-os into rollup

pull/8663/head
Cruz Monrreal II 2018-11-06 21:29:02 -06:00
commit ddd82a9d5e
1 changed files with 1 additions and 0 deletions

View File

@ -200,6 +200,7 @@ nsapi_error_t Nanostack::add_ethernet_interface(EMAC &emac, bool default_if, Nan
nsapi_error_t err = interface->initialize();
if (err) {
delete interface;
return err;
}