53 if ((nmemb == 0) || (size == 0))
56 void *p = calloc(nmemb, size);
73 void **p = (
void **) ptr;
96 void *p = malloc(size);
120 void **p = (
void **) ptr;
132 void *r = realloc(*p, size);
void mutt_exit(int code)
Leave NeoMutt NOW.
void * mutt_mem_calloc(size_t nmemb, size_t size)
Allocate zeroed memory on the heap.
void mutt_mem_free(void *ptr)
Release memory allocated on the heap.
void * mutt_mem_malloc(size_t size)
Allocate memory on the heap.
void mutt_mem_realloc(void *ptr, size_t size)
Resize a block of memory on the heap.
Memory management wrappers.