diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-10-07 13:44:26 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-10-07 13:46:29 +0200 |
commit | 158b3fb58485921ff6761dc7d2e25d7b625434da (patch) | |
tree | e051b7223d5a740f11952294e3c7b1e75fb6d2fa | |
parent | 2d6f31730c60bd15f2c22ca3ca24aae49a34eddd (diff) | |
download | ffmpeg-158b3fb58485921ff6761dc7d2e25d7b625434da.tar.gz |
avformat/tiertexseq: use av_freep(), do not leave stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/tiertexseq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/tiertexseq.c b/libavformat/tiertexseq.c index 917a331444..659ba06dd7 100644 --- a/libavformat/tiertexseq.c +++ b/libavformat/tiertexseq.c @@ -301,7 +301,7 @@ static int seq_read_close(AVFormatContext *s) SeqDemuxContext *seq = s->priv_data; for (i = 0; i < SEQ_NUM_FRAME_BUFFERS; i++) - av_free(seq->frame_buffers[i].data); + av_freep(&seq->frame_buffers[i].data); return 0; } |