[FFmpeg-devel] [PATCH 1/2] Fix leak in avfilter_graph_add_filter().

Michael Niedermayer michaelni
Sun Apr 18 02:08:23 CEST 2010


On Sun, Apr 11, 2010 at 11:26:16PM +0200, Stefano Sabatini wrote:
> In case of reallocation failure the pointer to the original filter
> array was lost. The correct behavior seems to just keep the old array
> and count.
> ---
>  libavfilter/avfiltergraph.c |   10 +++++-----
>  1 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c
> index 8fbbecf..75249e8 100644
> --- a/libavfilter/avfiltergraph.c
> +++ b/libavfilter/avfiltergraph.c

ok

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

Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100418/075c2654/attachment.pgp>



More information about the ffmpeg-devel mailing list