changeset 281:411c8cbd578a libavutil

Move unaltered av_freep() comments to the header file.
author takis
date Mon, 05 Mar 2007 13:51:03 +0000
parents 8c22d0665daa
children 85ee113e8336
files common.h mem.c
diffstat 2 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/common.h	Mon Mar 05 13:50:03 2007 +0000
+++ b/common.h	Mon Mar 05 13:51:03 2007 +0000
@@ -354,6 +354,11 @@
 
 void *av_mallocz(unsigned int size);
 char *av_strdup(const char *s);
+
+/**
+ * Frees memory and sets the pointer to NULL.
+ * @param arg pointer to the pointer which should be freed
+ */
 void av_freep(void *ptr);
 
 #endif /* COMMON_H */
--- a/mem.c	Mon Mar 05 13:50:03 2007 +0000
+++ b/mem.c	Mon Mar 05 13:51:03 2007 +0000
@@ -122,10 +122,6 @@
 #endif
 }
 
-/**
- * Frees memory and sets the pointer to NULL.
- * @param arg pointer to the pointer which should be freed
- */
 void av_freep(void *arg)
 {
     void **ptr= (void**)arg;