no need to zero new id cache elements during allocation
diff --git a/lib/object_idcache.c b/lib/object_idcache.c
index 340cb9c..7632943 100644
--- a/lib/object_idcache.c
+++ b/lib/object_idcache.c
@@ -99,7 +99,7 @@ got_object_idcache_add(struct got_object_idcache *cache,
if (cache->totelem >= cache->maxelem)
return got_error(GOT_ERR_NO_SPACE);
- entry = calloc(1, sizeof(*entry));
+ entry = malloc(sizeof(*entry));
if (entry == NULL)
return got_error_from_errno();