From e7c8206e5c4ee83eccb487583331fb39ba73a136 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 11 Mar 2006 00:19:32 +0000 Subject: [PATCH] av_free -> av_freep Originally committed as revision 5145 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/snow.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/snow.c b/libavcodec/snow.c index 58560e9570..876491c5d0 100644 --- a/libavcodec/snow.c +++ b/libavcodec/snow.c @@ -573,12 +573,12 @@ static void slice_buffer_destroy(slice_buffer * buf) for (i = buf->data_count - 1; i >= 0; i--) { assert(buf->data_stack[i]); - av_free(buf->data_stack[i]); + av_freep(&buf->data_stack[i]); } assert(buf->data_stack); - av_free(buf->data_stack); + av_freep(&buf->data_stack); assert(buf->line); - av_free(buf->line); + av_freep(&buf->line); } #ifdef __sgi