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-02 23:56:12 +0200 |
commit | 97e0ff9793b82b2da827ac33b84b900c1ca1d35f (patch) | |
tree | b85aef6ecbf8e561c3f75bf19f9e1c784a23d486 /libavutil/utils.c | |
parent | d7fa4cadeaa5e2a33624a73fed1b10b79c75201b (diff) | |
download | ffmpeg-97e0ff9793b82b2da827ac33b84b900c1ca1d35f.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/utils.c')
0 files changed, 0 insertions, 0 deletions