]> git.ipfire.org Git - thirdparty/systemd.git/commit
util: make malloc0 ask calloc for one block of size n 1073/head
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Fri, 28 Aug 2015 19:16:39 +0000 (21:16 +0200)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Sun, 30 Aug 2015 00:32:33 +0000 (02:32 +0200)
commitf80bb1f7eaf31476a44c2093d3ee02aba817a0b0
tree9782bf476c4d607b922ba7068bfc613faf4fe142
parenta19222e1d39e8f0ae254bf02b7babb0bd73ee5be
util: make malloc0 ask calloc for one block of size n

... instead of an array of n individual bytes.

Silences a lot of warnings in smatch.
src/basic/util.h