Skip to content

Commit 96d0f49

Browse files
authoredMar 18, 2025··
Fix memoryleak in shell door lock commands (#38049)
1 parent bc48ae0 commit 96d0f49

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎examples/lock-app/silabs/src/EventHandlerLibShell.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -209,4 +209,7 @@ void EventWorkerFunction(intptr_t context)
209209
break;
210210
}
211211
}
212+
213+
// free the allocated memory from the event handlers
214+
Platform::Delete(data);
212215
}

0 commit comments

Comments
 (0)
Please sign in to comment.