diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-03-21 03:57:32 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-05-20 01:09:57 +0200 |
commit | 10b1d1d3ca6f69d27915ba4a7bf110b7a2e1e9f6 (patch) | |
tree | 28c18206e6e1264c31ab46bcdf30ada6f05d26f3 /libavformat/utils.c | |
parent | 5efb7dc2b2e437b201d3e6e28b2d2c7e121dc28b (diff) | |
download | ffmpeg-10b1d1d3ca6f69d27915ba4a7bf110b7a2e1e9f6.tar.gz |
avformat/bethsoftvid: Fix potential memleak upon reallocation failure
The classical ptr = av_realloc(ptr, size), just with av_fast_realloc().
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 5acef1206144554a48f699b421e8d739e752d8ab)
Diffstat (limited to 'libavformat/utils.c')
0 files changed, 0 insertions, 0 deletions