Files
ffmpeg/libavfilter
Lidong Yan a4a71b5e9d avfilter/asrc_sinc: fix leak in config_input()
In config_input(), fir_to_phase() allocates memory in h[longer], which
would leak if av_calloc() to s->coeffs failed. lpf() allocates memory
in h[0] and h[1], which would leak if fir_to_phase() failed. To fix
this leak, add av_free(h[longer]) in as cleanup code, and replace
return AVERROR* with goto cleanup to prevent from leaks.

Signed-off-by: Lidong Yan <502024330056@smail.nju.edu.cn>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2025-07-05 21:10:36 +02:00
..
2024-08-19 21:48:04 +02:00
2024-08-19 21:48:04 +02:00
2024-08-19 21:48:04 +02:00
2025-07-04 01:32:27 +02:00
2024-08-19 21:48:04 +02:00
2024-08-19 21:48:04 +02:00
2024-08-19 21:48:04 +02:00
2024-08-19 21:48:04 +02:00
2025-07-03 21:41:54 +02:00
2024-09-02 11:55:20 +02:00
2024-08-19 21:48:04 +02:00
2025-07-04 01:32:27 +02:00
2024-08-19 21:48:04 +02:00
2024-07-01 22:31:02 +02:00
2024-08-19 21:48:04 +02:00
2024-08-19 21:48:04 +02:00
2025-04-15 15:49:38 +02:00
2025-07-04 01:32:27 +02:00
2025-06-15 21:00:38 +05:30
2025-07-04 01:32:27 +02:00
2025-07-04 01:32:27 +02:00
2025-04-22 20:45:57 +02:00
2024-08-19 21:48:04 +02:00