]> jfr.im git - irc/weechat/weechat.git/commit
core: replace calls to malloc by calloc
authorSébastien Helleu <redacted>
Mon, 17 Aug 2020 17:57:10 +0000 (19:57 +0200)
committerSébastien Helleu <redacted>
Mon, 17 Aug 2020 17:57:10 +0000 (19:57 +0200)
commitfbc2438c1c7f931290fb0f744d7e7a0502996e62
tree91be4bcd1b32ecde2e1af7e8787cd056eebaf899
parentfca5a4b42ce68ee44e8051238bc352578f0cedef
core: replace calls to malloc by calloc

After these calls to malloc the memory is set to zero, so it's better to call
calloc that does it already.
src/gui/curses/gui-curses-color.c
src/gui/gui-bar-item.c