commit 8f2a2f4f1cea3d391fbf62e7507dd233cad10d99 from: Christian Weisgerber date: Sun Aug 29 11:51:43 2021 UTC drop realloc_ids() initialization calls, one of which had a typo realloc_ids() is called again in the loops that assign to the ID arrays, before the first assignment. ok stsp commit - 43e4eb1bf2ab96fb4ea1fb53f993913df354db94 commit + 8f2a2f4f1cea3d391fbf62e7507dd233cad10d99 blob - 110f62e7d18931540ea150d0169e082cd0227e48 blob + cce652c329299014337427f1496d995ff9e59954 --- lib/send.c +++ lib/send.c @@ -554,13 +554,6 @@ got_send_pack(const char *remote_name, struct got_path goto done; } - err = realloc_ids(&our_ids, &nalloc_ours, 0); - if (err) - goto done; - err = realloc_ids(&their_ids, &nalloc_ours, 0); - if (err) - goto done; - if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, imsg_sendfds) == -1) { err = got_error_from_errno("socketpair"); goto done;