diff options
author | Steven Schubiger <stsc@refcnt.org> | 2013-04-26 23:18:05 +0200 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2013-04-26 23:18:05 +0200 |
commit | f7130a441748f7ffd2bb828d665146f46311adb0 (patch) | |
tree | 39543e7aa69447c680f53ce3dae23cbf3ce0315f /t | |
parent | 0188bc5a483a8681726b6d492c9a0fce301da993 (diff) | |
download | colorize-f7130a441748f7ffd2bb828d665146f46311adb0.tar.gz colorize-f7130a441748f7ffd2bb828d665146f46311adb0.tar.bz2 |
Introduce calloc wrappers and zero memory
Zero allocated memory of size "color name" struct to allow for
free() to be called for struct members even when not all of them
have been set explicitly yet. This is necessary since freeing
those might take place prematurely in cleanup() (triggered
via atexit).
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions