Commit 5ab1efb9 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Fix a crash on oom when decoding hevc.

parent 49287bbf
......@@ -2597,6 +2597,7 @@ static av_cold int hevc_decode_free(AVCodecContext *avctx)
pic_arrays_free(s);
if (lc)
av_freep(&lc->edge_emu_buffer);
av_freep(&s->md5_ctx);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment