[FFmpeg-devel] [PATCH] Fixed memory leak in EvalContext::channel_values

Michael Niedermayer michaelni at gmx.at
Tue Mar 10 14:42:27 CET 2015


On Tue, Mar 10, 2015 at 02:23:26PM +0100, Ole Andre Birkedal wrote:
> There are some doubles being allocated in aeval_config_output which is
> called by avfilter_graph_config. They are not being deleted and I am (on my
> filter graph) seeing two doubles (16 bytes on my system) of leaked memory.
> 
> - Ole Andre Birkedal

>  aeval.c |    1 +
>  1 file changed, 1 insertion(+)
> 5359214c3c0481bb0b16a92748283e6eeb8205bc  fix_channel_values.patch
> From e4c6316a2d90624277f933fe64b5c8397793b6ca Mon Sep 17 00:00:00 2001
> From: Ole Andre Birkedal <birkedal at extab.net>
> Date: Tue, 10 Mar 2015 14:12:30 +0100
> Subject: [PATCH] Fixed a memory leak in EvalContext::channel_values

applied

can you also add a fate test for aeval ?
we have one for aevalsrc which didt catch this leak

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The educated differ from the uneducated as much as the living from the
dead. -- Aristotle 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150310/b246bb96/attachment.asc>


More information about the ffmpeg-devel mailing list