diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-03-21 03:57:32 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-07-01 23:27:46 +0200 |
commit | 54d2f9518814fce97453e8cc074a4675765693dc (patch) | |
tree | 35ff87a6a1087d530cdb6250e1aca3be8d4bf365 /libavutil/tests/parseutils.c | |
parent | cfb42ce4155f10b94c31cb08eaa0582a4333eaeb (diff) | |
download | ffmpeg-54d2f9518814fce97453e8cc074a4675765693dc.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)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavutil/tests/parseutils.c')
0 files changed, 0 insertions, 0 deletions