diff options
author | James Almer <jamrial@gmail.com> | 2018-03-06 01:19:13 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2018-03-06 19:13:12 -0300 |
commit | 0ca33b1d4eb2a2a2e78ff3a37f1647917635b0d2 (patch) | |
tree | c57d973553b0c4d81e6ed96f7ee6db0c61c29afe /libavfilter/vf_bbox.c | |
parent | b19e11a4dc836f4fe87d3e3c25eb5cc4f6f4b447 (diff) | |
download | ffmpeg-0ca33b1d4eb2a2a2e78ff3a37f1647917635b0d2.tar.gz |
avformat/utils: free existing extradata before trying to allocate a new one
This prevents leaks in the rare cases the function is called when extradata
already exists.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter/vf_bbox.c')
0 files changed, 0 insertions, 0 deletions