Commit f690ee71 authored by Panagiotis Issaris's avatar Panagiotis Issaris

Move unaltered av_free() comments to the header file.

Originally committed as revision 8252 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent d6def91a
......@@ -344,6 +344,12 @@ void *av_malloc(unsigned int size);
* free(ptr) and NULL is returned.
*/
void *av_realloc(void *ptr, unsigned int size);
/**
* Free memory which has been allocated with av_malloc(z)() or av_realloc().
* NOTE: ptr = NULL is explicetly allowed
* Note2: it is recommended that you use av_freep() instead
*/
void av_free(void *ptr);
void *av_mallocz(unsigned int size);
......
......@@ -111,11 +111,6 @@ void *av_realloc(void *ptr, unsigned int size)
#endif
}
/**
* Free memory which has been allocated with av_malloc(z)() or av_realloc().
* NOTE: ptr = NULL is explicetly allowed
* Note2: it is recommended that you use av_freep() instead
*/
void av_free(void *ptr)
{
/* XXX: this test should not be needed on most libcs */
......
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