aboutsummaryrefslogtreecommitdiffstats
path: root/libswresample/rematrix_template.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2018-03-06 01:19:13 -0300
committerJames Almer <jamrial@gmail.com>2018-03-06 19:13:12 -0300
commit0ca33b1d4eb2a2a2e78ff3a37f1647917635b0d2 (patch)
treec57d973553b0c4d81e6ed96f7ee6db0c61c29afe /libswresample/rematrix_template.c
parentb19e11a4dc836f4fe87d3e3c25eb5cc4f6f4b447 (diff)
downloadffmpeg-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 'libswresample/rematrix_template.c')
0 files changed, 0 insertions, 0 deletions