avcodec/bsf: fix resource leak in av_bsf_list_parse_str
authorSteven Liu <lq@chinaffmpeg.org>
Tue, 10 Jan 2017 20:09:47 +0000 (04:09 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Tue, 10 Jan 2017 20:09:47 +0000 (04:09 +0800)
commitd9c2cfd31675a6403ae4ac7c141a8185dadceb12
tree27ba32eceebb9db72e88b93c5e1c63438ca5a293
parentf48b6b8b91d63148ef50d096688ed7226cd6ddf4
avcodec/bsf: fix resource leak in av_bsf_list_parse_str

cid: 1396268
when av_strdup(str) error, the lst need release

Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
libavcodec/bsf.c