Mercurial > libavutil.hg
diff common.h @ 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 | 4dd91a7d8633 |
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 */