ubus: Remove unnecessary memset calls.
authorRosen Penev <rosenp@gmail.com>
Tue, 7 Nov 2017 20:34:20 +0000 (12:34 -0800)
committerFelix Fietkau <nbd@nbd.name>
Mon, 13 Nov 2017 08:46:12 +0000 (09:46 +0100)
commit9c13096b169759eabf4c528df22d605e2d6093f4
treedce963c702c4d589a2cf7cb0ab1a865e538b47b9
parent24ffe9b582b492054aebb59ac7a175fd65eef5d8
ubus: Remove unnecessary memset calls.

Replace malloc+memset with calloc.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
libubus.c
lua/ubus.c