[SCM] libav/experimental: Fix a leak in the AAC encoder

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:10:54 UTC 2013


The following commit has been merged in the experimental branch:
commit 771c86c13d7133035e53f7aeb14407ae5dca6453
Author: Martin Storsjö <martin at martin.st>
Date:   Sat Jul 10 09:14:19 2010 +0000

    Fix a leak in the AAC encoder
    
    Originally committed as revision 24159 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/psymodel.c b/libavcodec/psymodel.c
index f87dbcf..a85c29b 100644
--- a/libavcodec/psymodel.c
+++ b/libavcodec/psymodel.c
@@ -123,5 +123,6 @@ av_cold void ff_psy_preprocess_end(struct FFPsyPreprocessContext *ctx)
         for (i = 0; i < ctx->avctx->channels; i++)
             ff_iir_filter_free_state(ctx->fstate[i]);
     av_freep(&ctx->fstate);
+    av_free(ctx);
 }
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list