summaryrefslogtreecommitdiff
path: root/libavutil/fifo.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/fifo.c')
-rw-r--r--libavutil/fifo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/fifo.c b/libavutil/fifo.c
index cfb716e53b..d10198972d 100644
--- a/libavutil/fifo.c
+++ b/libavutil/fifo.c
@@ -38,7 +38,7 @@ AVFifoBuffer *av_fifo_alloc(unsigned int size)
void av_fifo_free(AVFifoBuffer *f)
{
if(f){
- av_free(f->buffer);
+ av_freep(&f->buffer);
av_free(f);
}
}