chiark / gitweb /
util: add greedy_realloc0()
authorDavid Herrmann <dh.herrmann@gmail.com>
Sat, 30 Nov 2013 10:31:59 +0000 (11:31 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Sun, 1 Dec 2013 11:17:08 +0000 (12:17 +0100)
Compared to greedy_realloc(), this sets all newly allocated memory to 0.
As the old variant has been used a lot for string-handling, we avoid
changing it as clearing memory is not needed there.


No differences found