Hi

On Tue, Jun 17, 2025 at 10:14:14PM +0800, Lidong Yan wrote:
> In config_input(), fir_to_phase() allocates memory in h[longer].
> But if av_calloc() to s->coeffs failed, memory in h[longer] would
> leak. Add av_free(h[longer]) in !s->coeffs path.

does the other return in config_output() not need this free too?

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Some people wanted to paint the bikeshed green, some blue and some pink.
People argued and fought, when they finally agreed, only rust was left.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to