diff --git a/porting/npl/freertos/src/npl_os_freertos.c b/porting/npl/freertos/src/npl_os_freertos.c index 1cbc3223c..b9f61efb0 100644 --- a/porting/npl/freertos/src/npl_os_freertos.c +++ b/porting/npl/freertos/src/npl_os_freertos.c @@ -381,6 +381,7 @@ npl_freertos_callout_deinit(struct ble_npl_callout *co) xTimerDelete(co->handle, portMAX_DELAY); } #endif + memset(co, 0, sizeof(struct ble_npl_callout)); } ble_npl_error_t