diff options
author | Steven Schubiger <stsc@refcnt.org> | 2013-01-24 23:59:34 +0100 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2013-01-24 23:59:34 +0100 |
commit | ca8ab7e39af7b3b6d263329bb605925f693d23b8 (patch) | |
tree | d1cbb346ddd23ec44215573ebf44656b78f4b3cf /test.pl | |
parent | eaa100485541ae65959f78f6ae27e8c5cc1c644d (diff) | |
download | colorize-ca8ab7e39af7b3b6d263329bb605925f693d23b8.tar.gz colorize-ca8ab7e39af7b3b6d263329bb605925f693d23b8.tar.bz2 |
Wrap memory allocation functions
This covers currently calls to malloc(), realloc() and the custom
strdup() (which uses malloc, too). If allocation of memory fails
(i.e., NULL is returned from one of former two calls), a fatal
diagnostic is emitted (accompanied by source filename and line
number if compiled with DEBUG=1).
Diffstat (limited to 'test.pl')
0 files changed, 0 insertions, 0 deletions