Merge pull request #11420 from tymoteuszblochmobica/cm3ds

Fixed smsc9220_emac link_out memory management.
pull/11455/head
Martin Kojtal 2019-09-10 19:52:44 +02:00 committed by GitHub
commit 3297bf4062
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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;