mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/rl2: clear freed pointers
Avoid leaving stale pointers in memory Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
51ddaf6549
commit
00672d2ce5
@ -207,7 +207,7 @@ static av_cold int rl2_decode_end(AVCodecContext *avctx)
|
||||
{
|
||||
Rl2Context *s = avctx->priv_data;
|
||||
|
||||
av_free(s->back_frame);
|
||||
av_freep(&s->back_frame);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user