diff --git a/examples/lock-app/silabs/src/EventHandlerLibShell.cpp b/examples/lock-app/silabs/src/EventHandlerLibShell.cpp index 62c994410a1f96..f13312461e513f 100644 --- a/examples/lock-app/silabs/src/EventHandlerLibShell.cpp +++ b/examples/lock-app/silabs/src/EventHandlerLibShell.cpp @@ -209,4 +209,7 @@ void EventWorkerFunction(intptr_t context) break; } } + + // free the allocated memory from the event handlers + Platform::Delete(data); }