Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-10-12 14:22:00 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-10-12 14:22:16 +0400
commit28b829b8bb47b15a64e2413ba7f5b30dc43429f1 (patch)
tree283af64b0bd7a54d132320335f130e08ba5bd0ab /libavcodec/eatqi.c
parent20df02680c94df1dd74f2e69068cbf02cb98d290 (diff)
avcodec/eatqi: use av_freep(), do not leave stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/eatqi.c')
-rw-r--r--libavcodec/eatqi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/eatqi.c b/libavcodec/eatqi.c
index 864291a95c..b8e4d7c5d4 100644
--- a/libavcodec/eatqi.c
+++ b/libavcodec/eatqi.c
@@ -149,7 +149,7 @@ static int tqi_decode_frame(AVCodecContext *avctx,
static av_cold int tqi_decode_end(AVCodecContext *avctx)
{
TqiContext *t = avctx->priv_data;
- av_free(t->bitstream_buf);
+ av_freep(&t->bitstream_buf);
return 0;
}