Marko Kiiskila created MYNEWT-541:
-------------------------------------

             Summary: dup os_mbuf_free() in ble_gattc_notify_custom()
                 Key: MYNEWT-541
                 URL: https://issues.apache.org/jira/browse/MYNEWT-541
             Project: Mynewt
          Issue Type: Bug
            Reporter: Marko Kiiskila


Seen when running low on os_mbufs.

If ble_att_clt_tx_notify() fails in os_mbuf_prepend(), or in os_mbuf_pullup(), 
the mbuf chain gets freed on failure inside the os_mbuf routines. The dup 
os_mbuf_free_chain() happens in ble_att_clt_tx_notify() error path then.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to