xbps-fbulk: calloc -> malloc.

No need to use calloc here because its members are initialized
later on.
This commit is contained in:
Juan RP 2020-04-14 14:30:16 +02:00
parent 5d81aec07f
commit da2c104d16

View File

@ -380,7 +380,7 @@ runBuilds(const char *bpath)
static void static void
addDepn(struct item *item, struct item *xitem) addDepn(struct item *item, struct item *xitem)
{ {
struct depn *depn = calloc(1, sizeof(struct depn)); struct depn *depn = malloc(sizeof(struct depn));
assert(item); assert(item);
assert(xitem); assert(xitem);