Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #266991

Category ffmpeg
Changed by jiangjie <jiangjieohnoyoudont@agora.io>
Changed at Wed 13 May 2026 14:11:19
Repository https://git.ffmpeg.org/ffmpeg.git
Project ffmpeg
Branch master
Revision 22d06b39ce0545ce597f090d84f60c1a2b04fd25

Comments

avfilter/avfilter: fix memory leak of filter name in ff_filter_alloc error path
When ff_filter_alloc fails after the name has been allocated (via
av_strdup), the error handling code frees inputs and input_pads but
misses freeing ret->name, causing a memory leak.

Add av_freep(&ret->name) in the error path before freeing inputs.

Changed files