Commit 964442c5 authored by Max Kellermann's avatar Max Kellermann

ffmpeg: call tag_free() instead of free()

tag objects must be freed with tag_free() to ensure that all resources are freed.
parent 25f4efcd
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment