# HG changeset patch # User takis # Date 1173102663 0 # Node ID 411c8cbd578abbdc1c3aa9e4783872ca146688b5 # Parent 8c22d0665daa85c4b1cd193b0a853d17390218eb Move unaltered av_freep() comments to the header file. diff -r 8c22d0665daa -r 411c8cbd578a common.h --- 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 */ diff -r 8c22d0665daa -r 411c8cbd578a mem.c --- 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;