Replace malloc() + memset() with calloc()
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 4 Oct 2020 15:14:51 +0000 (17:14 +0200)
committerPetr Štetiar <ynezz@true.cz>
Tue, 6 Oct 2020 06:35:23 +0000 (08:35 +0200)
commit52bbc99f69ea6f67b6fe264f424dac91bde5016c
tree3f90df75a7423dddc0e7c9c678955968426e78dc
parent3fbd6c923434db61267e1331319b5b125e7838d8
Replace malloc() + memset() with calloc()

Instead of manually clearing the memory with memset() use calloc().

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
cli.c
libuci.c
ucimap.c
util.c