Browse Source

MT#55283 fix coverity false positive

mp->cache_entry is not actually protected by media_player_cache_lock.

Change-Id: Iafb17e6ebe09be09089e65c42a9677535a835b46
pull/1594/head
Richard Fuchs 3 years ago
parent
commit
ca09549983
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/media_player.c

+ 1
- 1
daemon/media_player.c View File

@ -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


Loading…
Cancel
Save