X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavutil%2Fmem.c;h=a91ac4a07b81a365f941abab660fd9e8f7035954;hb=4f2c36ac4f3e6d7de02c95a484a005ea8cd561bf;hp=c95892b361749eb8748d0c68883875be8bc7721d;hpb=d6def91a3bcd08af9baf162577954c92cf4e8886;p=ffmpeg diff --git a/libavutil/mem.c b/libavutil/mem.c index c95892b3617..a91ac4a07b8 100644 --- a/libavutil/mem.c +++ b/libavutil/mem.c @@ -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 */ @@ -127,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;