aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decoder/oggflac_plugin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/decoder/oggflac_plugin.c b/src/decoder/oggflac_plugin.c
index a4912f8ac..c139fd114 100644
--- a/src/decoder/oggflac_plugin.c
+++ b/src/decoder/oggflac_plugin.c
@@ -283,7 +283,8 @@ oggflac_tag_dup(const char *file)
if (tag_is_defined(data.tag)) {
tag = data.tag;
data.tag = NULL;
- }
+ } else
+ tag = NULL;
flac_data_deinit(&data);