Commit cd8b3ddc authored by takis's avatar takis

Move unaltered av_freep() comments to the header file.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8253 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent aced6098
......@@ -354,6 +354,11 @@ void av_free(void *ptr);
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 */
......@@ -122,10 +122,6 @@ void av_free(void *ptr)
#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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment