Browse Source

MT#55283 silence Coverity false positive

No locking is necessary in the shutdown code.

Change-Id: Ib73a04cee4f780e5e25d4fc7c0c57927098273d0
Warned-by: Coverity
pull/1623/head
Richard Fuchs 3 years ago
parent
commit
b3e6d47428
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/media_player.c

+ 1
- 1
daemon/media_player.c View File

@ -118,7 +118,7 @@ static void media_player_shutdown(struct media_player *mp) {
mp->cache_index.type = MP_OTHER;
if (mp->cache_index.file.s)
g_free(mp->cache_index.file.s);
mp->cache_index.file = STR_NULL;
mp->cache_index.file = STR_NULL;// coverity[missing_lock : FALSE]
mp->cache_entry = NULL; // coverity[missing_lock : FALSE]
mp->cache_read_idx = 0;
}


Loading…
Cancel
Save