Memory leak every disconnection/connection for BLE

I'm investigating some crashes of a data field that connects to a sensor using BLE due to an out of memory condition.

I have been able to replicate the crash when the sensor is disconnected and connected again multiple times. Every time connection is recovered a leak of aprox 0.6 kB happens, so that after some repetitions the data field finally crashes.

There's nothing I can identify in the code that causes this leak, so not sure if it happens at the BLE API layer.

Has anyone observed this behavior?

 I think it could be easy to you to simulate and check this using BLEscan. Could you do a test to know whether this happens or not?