speech-dispatcher: Memory Handling Functions
5.2.6.7 Memory Handling Functions
.................................
-- Module Utils function: static void* xmalloc (size_t size)
The same as the classical 'malloc()' except that it executes
'FATAL(``Not enough memory'')' on error.
-- Module Utils function: static void* xrealloc (void *data, size_t
size)
The same as the classical 'realloc()' except that it also accepts
'NULL' as 'data'. In this case, it behaves as 'xmalloc'.
-- Module Utils function: void xfree(void *data)
The same as the classical 'free()' except that it checks if data
isn't NULL before calling 'free()'.