From 964442c5adc24ac2c93eecec80bbecb65ab57ab6 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 30 Oct 2008 19:01:36 +0100 Subject: ffmpeg: call tag_free() instead of free() tag objects must be freed with tag_free() to ensure that all resources are freed. --- src/decoder/ffmpeg_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3