diff mem.c @ 3008:e23d2bddf122 libavcodec

av_freep() recommandition
author michael
date Wed, 04 Jan 2006 09:42:37 +0000
parents bfabfdf9ce55
children 0b546eab515d
line wrap: on
line diff
--- a/mem.c	Wed Jan 04 03:01:05 2006 +0000
+++ b/mem.c	Wed Jan 04 09:42:37 2006 +0000
@@ -117,7 +117,11 @@
 #endif
 }
 
-/* NOTE: ptr = NULL is explicetly allowed */
+/**
+ * Free memory which has been allocated with av_malloc(z)() or av_realloc().
+ * NOTE: ptr = NULL is explicetly allowed 
+ * Note2: it is recommanded that you use av_freep() instead
+ */
 void av_free(void *ptr)
 {
     /* XXX: this test should not be needed on most libcs */