Free sender name.

This commit is contained in:
Derek Jamison 2023-03-06 12:43:22 -05:00
parent c683a15a5f
commit 3e5acab130

View File

@ -1086,6 +1086,9 @@ static void remote_games_clear(GameContext* game_context) {
while(game_context->data->remote_games) { while(game_context->data->remote_games) {
GameInfo* game = game_context->data->remote_games; GameInfo* game = game_context->data->remote_games;
game_context->data->remote_games = game->next_game; game_context->data->remote_games = game->next_game;
if(game->sender_name) {
furi_string_free(game->sender_name);
}
free(game); free(game);
} }
} }