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; }