# HG changeset patch # User stefano # Date 1216246234 0 # Node ID d0b6c6caef400c65f59429480b5aa823e8744216 # Parent 239547e8796eb7e700983cf69e3c97c6ad91306f Free in avcodec_close() avctx->rc_eq. Fix a memory leak. diff -r 239547e8796e -r d0b6c6caef40 utils.c --- 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;