Skip to content

Commit b88d83f

Browse files
committed
SQUASH??? coccicheck
1 parent aa9eab4 commit b88d83f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/cat-file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ static int get_remote_info(struct batch_options *opt, int argc, const char **arg
503503
size_t j;
504504
int include_size = 0, include_type = 0;
505505

506-
remote_object_info = xcalloc(object_info_oids.nr, sizeof(struct object_info));
506+
CALLOC_ARRAY(remote_object_info, object_info_oids.nr);
507507
gtransport->smart_options->object_info = 1;
508508
gtransport->smart_options->object_info_oids = &object_info_oids;
509509
/**

0 commit comments

Comments
 (0)