32 #define NULL (void *)0
37 __coverity_negative_sink__(size);
39 void *ptr = __coverity_alloc__(size);
40 __coverity_mark_as_uninitialized_buffer__(ptr);
41 __coverity_mark_as_afm_allocated__(ptr,
"av_free");
50 __coverity_negative_sink__(size);
52 void *ptr = __coverity_alloc__(size);
53 __coverity_writeall0__(ptr);
54 __coverity_mark_as_afm_allocated__(ptr,
"av_free");
63 __coverity_negative_sink__(size);
65 __coverity_escape__(ptr);
66 ptr = __coverity_alloc__(size);
67 __coverity_writeall__(ptr);
68 __coverity_mark_as_afm_allocated__(ptr,
"av_free");
76 __coverity_free__(ptr);
77 __coverity_mark_as_afm_freed__(ptr,
"av_free");
void * av_realloc(void *ptr, size_t size)
Allocate, reallocate, or free a block of memory.
void * av_mallocz(size_t size)
Allocate a memory block with alignment suitable for all memory accesses (including vectors if availab...
void * av_free(void *ptr)
Free a memory block which has been allocated with a function of av_malloc() or av_realloc() family...
void * av_malloc(size_t size)
Allocate a memory block with alignment suitable for all memory accesses (including vectors if availab...