X-Git-Url: https://git.libav.org/?p=libav.git;a=blobdiff_plain;f=libavcodec%2Fh264.c;h=14362d3122b87ca5acfd3dbb9ade2f54f336a67f;hp=925fb68089ed44e41fc34392b2de70bc0acb02a7;hb=dc9f52602f6493b33d1ac0d729ffb188e6a676fa;hpb=528bbdde7f1cb7512cdab7b0fb78dc5da37cef0c diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 925fb68089..14362d3122 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -7807,6 +7807,7 @@ static int decode_end(AVCodecContext *avctx) H264Context *h = avctx->priv_data; MpegEncContext *s = &h->s; + av_freep(&h->rbsp_buffer); free_tables(h); //FIXME cleanup init stuff perhaps MPV_common_end(s);