aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-30 19:01:36 +0100
committerMax Kellermann <max@duempel.org>2008-10-30 19:01:36 +0100
commit964442c5adc24ac2c93eecec80bbecb65ab57ab6 (patch)
treeaaccb81d8a5da2a5c26b9da954758786fbe7782b
parent25f4efcdb8b11c2414458c61be3dc1ed73903824 (diff)
downloadmpd-964442c5adc24ac2c93eecec80bbecb65ab57ab6.tar.gz
mpd-964442c5adc24ac2c93eecec80bbecb65ab57ab6.tar.xz
mpd-964442c5adc24ac2c93eecec80bbecb65ab57ab6.zip
ffmpeg: call tag_free() instead of free()
tag objects must be freed with tag_free() to ensure that all resources are freed.
-rw-r--r--src/decoder/ffmpeg_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/ffmpeg_plugin.c b/src/decoder/ffmpeg_plugin.c
index d13297ad1..6f8ad3a4a 100644
--- a/src/decoder/ffmpeg_plugin.c
+++ b/src/decoder/ffmpeg_plugin.c
@@ -332,7 +332,7 @@ static struct tag *ffmpeg_tag(char *file)
ret = ffmpeg_helper(&input, ffmpeg_tag_internal, &base);
if (ret) {
- free(base.tag);
+ tag_free(base.tag);
base.tag = NULL;
}