diff options
author | Max Kellermann <max@duempel.org> | 2008-11-11 20:46:55 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-11 20:46:55 +0100 |
commit | 1bfa6a94e2259201068d7a947507eb5e6e93c0c3 (patch) | |
tree | 0acf5a246f1889d1643a885dbb11395efe56d9b0 /src/decoder/_ogg_common.c | |
parent | acf0d141be9bae98311be9479fc46e77f6f87961 (diff) | |
download | mpd-1bfa6a94e2259201068d7a947507eb5e6e93c0c3.tar.gz mpd-1bfa6a94e2259201068d7a947507eb5e6e93c0c3.tar.xz mpd-1bfa6a94e2259201068d7a947507eb5e6e93c0c3.zip |
player: fix race condition during tag update
When a tag is updated, the old tag was freed before the new one was
created. Reverse the order to be sure that other threads always see a
valid pointer.
This still leaves a possible race condition, but it will be addressed
later.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions