changeset 3190:e9fa3ac61966 libavcodec

av_free -> av_freep
author michael
date Sat, 11 Mar 2006 00:19:32 +0000
parents e1cbe2635325
children 7acb3ea20b4c
files snow.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/snow.c	Sat Mar 11 00:18:43 2006 +0000
+++ b/snow.c	Sat Mar 11 00:19:32 2006 +0000
@@ -573,12 +573,12 @@
     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