diff options
author | Lidong Yan <yldhome2d2@gmail.com> | 2025-06-27 22:09:17 +0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2025-06-28 23:54:40 +0200 |
commit | a17596f55bcaac57c7670c053b28599bc6d1c347 (patch) | |
tree | d6d61615a3e6d2701243f393b804f77fa8fbf1f3 /libavformat/tests/noproxy.c | |
parent | 40a3d35da6ba51e0a4e59e754d033feefafc036d (diff) | |
download | ffmpeg-a17596f55bcaac57c7670c053b28599bc6d1c347.tar.gz |
avfilter/vf_lut3d: fix leak if allocate_3dlut failed
In parse_cinespace(), memory allocated in in_prelut[] and out_prelut[]
would leak if allocate_3dlut() failed. Replace return ret with goto end
to free memory before return error code.
Signed-off-by: Lidong Yan <502024330056@smail.nju.edu.cn>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/tests/noproxy.c')
0 files changed, 0 insertions, 0 deletions