ffmpeg: call tag_free() instead of free()

tag objects must be freed with tag_free() to ensure that all resources
are freed.
This commit is contained in:
Max Kellermann 2008-10-30 19:01:36 +01:00
parent 25f4efcdb8
commit 964442c5ad
1 changed files with 1 additions and 1 deletions

View File

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