summaryrefslogtreecommitdiff
path: root/libavfilter/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/buffer.c')
-rw-r--r--libavfilter/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/buffer.c b/libavfilter/buffer.c
index 0327952e79..43dc66911a 100644
--- a/libavfilter/buffer.c
+++ b/libavfilter/buffer.c
@@ -38,7 +38,7 @@ void ff_avfilter_default_free_buffer(AVFilterBuffer *ptr)
{
if (ptr->extended_data != ptr->data)
av_freep(&ptr->extended_data);
- av_free(ptr->data[0]);
+ av_freep(&ptr->data[0]);
av_free(ptr);
}