[FFmpeg-devel] [PATCH 3/4] avfilter/vf_lut3d: fix leak if allocate_3dlut failed
Michael Niedermayer
michael at niedermayer.cc
Sun Jun 29 00:06:54 EEST 2025
On Fri, Jun 27, 2025 at 10:09:17PM +0800, Lidong Yan wrote:
> 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 at smail.nju.edu.cn>
> ---
> libavfilter/vf_lut3d.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
will apply
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
If you fake or manipulate statistics in a paper in physics you will never
get a job again.
If you fake or manipulate statistics in a paper in medicin you will get
a job for life at the pharma industry.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250628/67ed7c45/attachment.sig>
More information about the ffmpeg-devel
mailing list