From 305de100a7f9ab7c62c4a2f3f447919d98879a3f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 10 Nov 2009 23:56:59 +0100 Subject: decoder/oggflac: initialize the "tag" variable --- src/decoder/oggflac_plugin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3