NordicPlayground / nRF51-ble-bcast-mesh

Other
324 stars 121 forks source link

using rbc_mesh_tx_event_set and rbc_mesh_packet_release #72

Closed victorpasse closed 8 years ago

victorpasse commented 8 years ago

When using rbc_mesh_tx_event_set the pakage will never be un referenced and deleted as the mesh_evt.data is NULL and rbc_mesh_packet_release will not call mesh_packet_ref_count_dec with the correct pointer, I get a fault as mesh_packet_acquire can not find a free slot after sending several packages on the handle with tx event enabled.

trond-snekvik commented 8 years ago

Thanks for reporting, I'll see if we can push a fix for it :)

olsky commented 8 years ago

:+1: good one!