mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #11420 from tymoteuszblochmobica/cm3ds
Fixed smsc9220_emac link_out memory management.pull/11455/head
commit
3297bf4062
|
@ -168,6 +168,7 @@ bool SMSC9220_EMAC::link_out(emac_mem_buf_t *buf)
|
|||
true,
|
||||
(const char*)_memory_manager->get_ptr(buf),
|
||||
_memory_manager->get_len(buf));
|
||||
_memory_manager->free(buf);
|
||||
if (error != SMSC9220_ERROR_NONE) {
|
||||
_TXLockMutex.unlock();
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue