提交 9752d2e6 编写于 作者: A Alexandra Hájková 提交者: Luca Barbato

asfdec: prevent possible memory leak in the asf_read_metadata_obj

Signed-off-by: NLuca Barbato <lu_zero@gentoo.org>
上级 910247f1
......@@ -572,7 +572,8 @@ static int asf_read_metadata_obj(AVFormatContext *s, const GUIDParseTable *g)
if ((ret = process_metadata(s, name, name_len, val_len, type,
&asf->asf_sd[st_num].asf_met)) < 0)
break;
}
} else
av_freep(&name);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册