Fix memory leak

pull/8775/head
Kari Haapalehto 2018-11-05 13:09:56 +02:00 committed by adbridge
parent 456a3bfbac
commit e713b2bb9c
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;
}