summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/rpmlead.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmlead.c b/lib/rpmlead.c
index 805606aec..8bb8779bc 100644
--- a/lib/rpmlead.c
+++ b/lib/rpmlead.c
@@ -41,7 +41,7 @@ struct rpmlead_s {
rpmlead rpmLeadNew(void)
{
int archnum, osnum;
- rpmlead l = calloc(1, sizeof(*l));
+ rpmlead l = xcalloc(1, sizeof(*l));
rpmGetArchInfo(NULL, &archnum);
rpmGetOsInfo(NULL, &osnum);