[FFmpeg-devel] [PATCH] examples: Add proper deallocations to avoid potential memory leaks

Michael Niedermayer michael at niedermayer.cc
Thu Aug 7 03:23:25 EEST 2025


On Wed, Aug 06, 2025 at 03:07:21PM +0000, Jiasheng Jiang wrote:
> Add proper deallocations in the error paths to avoid potential memory leaks.
> 
> Fixes: e7dfaf16a4 ("libavfilter: example audio filtering program")
> Signed-off-by: Jiasheng Jiang <jiashengjiangcool at gmail.com>
> ---
>  doc/examples/filter_audio.c | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)

will apply

thx

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

No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
-------------- 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/20250807/92be5fa8/attachment.sig>


More information about the ffmpeg-devel mailing list