diskspace: use calloc instead of malloc
commit1358a4a80f4d8edbeedc0fdd1e026b491cbb8815
authorDan McGee <dan@archlinux.org>
Fri, 11 Feb 2011 16:36:41 +0000 (11 10:36 -0600)
committerDan McGee <dan@archlinux.org>
Fri, 11 Feb 2011 16:36:41 +0000 (11 10:36 -0600)
tree3206fdf0b30f6acd90db3c0e55758a0cb17ab760
parent0eac60cd9d478774025a10decce835dea42f9ce4
diskspace: use calloc instead of malloc

Prevents us from having to manually zero out several of our fields.

Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/diskspace.c