fix allocation size in got_privsep_recv_gitconfig_remotes(); found by free(3)
diff --git a/lib/privsep.c b/lib/privsep.c
index 62e292d..c03ab3d 100644
--- a/lib/privsep.c
+++ b/lib/privsep.c
@@ -1992,7 +1992,7 @@ got_privsep_recv_gitconfig_remotes(struct got_remote_repo **remotes,
imsg_free(&imsg);
- *remotes = recallocarray(NULL, 0, iremotes.nremotes, sizeof(iremote));
+ *remotes = recallocarray(NULL, 0, iremotes.nremotes, sizeof(**remotes));
if (*remotes == NULL)
return got_error_from_errno("recallocarray");