free message queue and nrfsniff updates

nrfsniff updates by mothball187 and ESurge
This commit is contained in:
MX
2022-08-10 05:03:01 +03:00
parent 8527b7a8ed
commit 3d723679bd
8 changed files with 14 additions and 7 deletions

View File

@@ -311,6 +311,7 @@ int32_t snake_game_app(void* p) {
ValueMutex state_mutex;
if(!init_mutex(&state_mutex, snake_state, sizeof(SnakeState))) {
FURI_LOG_E("SnakeGame", "cannot create mutex\r\n");
furi_message_queue_free(event_queue);
free(snake_state);
return 255;
}