aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vaapi_vp9.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-07 18:14:47 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-21 04:50:58 +0200
commit0f9ade1ff395cfaf51f9a7ecc1ed725339aa1426 (patch)
tree65b3f07b01136f22c77698c25b40308cadf8264d /libavcodec/vaapi_vp9.c
parented948c114971c7a5f710741a48a7ca2ef455b35f (diff)
downloadffmpeg-0f9ade1ff395cfaf51f9a7ecc1ed725339aa1426.tar.gz
avformat/dashdec: Fix memleak on allocation error, avoid allocation
get_content_url() allocates two buffers for temporary strings and when one of them couldn't be allocated, it simply returns, although one of the two allocations could have succeeded and would leak in this scenario. This can be fixed by avoiding one of the temporary buffers. Reviewed-by: Steven Liu <lq@chinaffmpeg.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/vaapi_vp9.c')
0 files changed, 0 insertions, 0 deletions