diff utils.c @ 7292:d0b6c6caef40 libavcodec

Free in avcodec_close() avctx->rc_eq. Fix a memory leak.
author stefano
date Wed, 16 Jul 2008 22:10:34 +0000
parents 643c85503f1f
children dddc7406c5b6
line wrap: on
line diff
--- a/utils.c	Wed Jul 16 17:54:57 2008 +0000
+++ b/utils.c	Wed Jul 16 22:10:34 2008 +0000
@@ -973,6 +973,7 @@
         avctx->codec->close(avctx);
     avcodec_default_free_buffers(avctx);
     av_freep(&avctx->priv_data);
+    av_freep(&avctx->rc_eq);
     avctx->codec = NULL;
     entangled_thread_counter--;
     return 0;