xbps-fbulk: calloc -> malloc.
No need to use calloc here because its members are initialized later on.
This commit is contained in:
parent
5d81aec07f
commit
da2c104d16
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user