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-03 16:14:46 +0200 |
commit | 5941c8fa05aecd4cc394c45732c418e9aee655cc (patch) | |
tree | 114e53fefd70c7c1b0724bf27c3aa6b011b0bef7 /tests/api/api-threadmessage-test.c | |
parent | d63495c692478a57c66ddc1881b22878dc602e2d (diff) | |
download | ffmpeg-5941c8fa05aecd4cc394c45732c418e9aee655cc.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 'tests/api/api-threadmessage-test.c')
0 files changed, 0 insertions, 0 deletions