chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
4545a23
)
util: add greedy_realloc0()
author
David Herrmann
<dh.herrmann@gmail.com>
Sat, 30 Nov 2013 10:31:59 +0000
(11:31 +0100)
committer
David 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