From ca095499837273044556fbe68ebfa168d53b8265 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Fri, 13 Jan 2023 07:38:32 -0500 Subject: [PATCH] MT#55283 fix coverity false positive mp->cache_entry is not actually protected by media_player_cache_lock. Change-Id: Iafb17e6ebe09be09089e65c42a9677535a835b46 --- daemon/media_player.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/media_player.c b/daemon/media_player.c index 6eb6ab1c3..8260742bd 100644 --- a/daemon/media_player.c +++ b/daemon/media_player.c @@ -119,7 +119,7 @@ static void media_player_shutdown(struct media_player *mp) { if (mp->cache_index.file.s) g_free(mp->cache_index.file.s); mp->cache_index.file = STR_NULL; - mp->cache_entry = NULL; + mp->cache_entry = NULL; // coverity[missing_lock : FALSE] mp->cache_read_idx = 0; } #endif