av_free -> av_freep

Originally committed as revision 5145 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 19 years ago
parent 87f20c2f31
commit e7c8206e5c
  1. 6
      libavcodec/snow.c

@ -573,12 +573,12 @@ static void slice_buffer_destroy(slice_buffer * buf)
for (i = buf->data_count - 1; i >= 0; i--) for (i = buf->data_count - 1; i >= 0; i--)
{ {
assert(buf->data_stack[i]); assert(buf->data_stack[i]);
av_free(buf->data_stack[i]); av_freep(&buf->data_stack[i]);
} }
assert(buf->data_stack); assert(buf->data_stack);
av_free(buf->data_stack); av_freep(&buf->data_stack);
assert(buf->line); assert(buf->line);
av_free(buf->line); av_freep(&buf->line);
} }
#ifdef __sgi #ifdef __sgi

Loading…
Cancel
Save