From da2c104d1642611c6491bd4b1771de8524bf7731 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 14 Apr 2020 14:30:16 +0200 Subject: [PATCH] xbps-fbulk: calloc -> malloc. No need to use calloc here because its members are initialized later on. --- bin/xbps-fbulk/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/xbps-fbulk/main.c b/bin/xbps-fbulk/main.c index 25cb90bf..1ed1a01f 100644 --- a/bin/xbps-fbulk/main.c +++ b/bin/xbps-fbulk/main.c @@ -380,7 +380,7 @@ runBuilds(const char *bpath) static void 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(xitem);