diff options
author | Lukasz Marek <lukasz.m.luki2@gmail.com> | 2014-11-22 20:43:47 +0100 |
---|---|---|
committer | Lukasz Marek <lukasz.m.luki2@gmail.com> | 2014-11-26 23:32:33 +0100 |
commit | 345cfd04d093d9fdec81ea3531e73b1f5c1b6a6c (patch) | |
tree | bde196021f9bad74119981a67421be0fc7064fd3 /libavcodec/options.c | |
parent | 3d0867917faa9b4cb8e9dd49e5773c60eb2b8fe6 (diff) | |
download | ffmpeg-345cfd04d093d9fdec81ea3531e73b1f5c1b6a6c.tar.gz |
lavc/options: fix leaks in avcodec_free_context
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Diffstat (limited to 'libavcodec/options.c')
-rw-r--r-- | libavcodec/options.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/options.c b/libavcodec/options.c index 44f3e904bf..7f9fb07fd6 100644 --- a/libavcodec/options.c +++ b/libavcodec/options.c @@ -170,6 +170,9 @@ void avcodec_free_context(AVCodecContext **pavctx) av_freep(&avctx->extradata); av_freep(&avctx->subtitle_header); + av_freep(&avctx->intra_matrix); + av_freep(&avctx->inter_matrix); + av_freep(&avctx->rc_override); av_freep(pavctx); } |