Calls to malloc, calloc, strdup and free are re-directed to the xmemory functions.
realloc is not re-directed for several reasons which would make it un-portable. If you really need to re-allocate a block of memory, it is preferrable to do it yourself, i.e. allocate a new block, copy the contents of the previous block into the new one, deallocate the old block.