commit d1bd49a9f4cb68bfe8dd012bcf41342bf93135e1 from: Omar Polo date: Tue May 16 17:38:13 2023 UTC don't zero fields of a calloc()-allocated struct commit - d20cd3851233c5fcfd89337f428bf85b45f1f6d7 commit + d1bd49a9f4cb68bfe8dd012bcf41342bf93135e1 blob - a8c1e1b49284275b1bea48ee9de37357b94a5d91 blob + 12fe22174e6a7a68f8f0cfbe191689fa49c0de9a --- gotwebd/gotweb.c +++ gotwebd/gotweb.c @@ -423,14 +423,6 @@ gotweb_init_transport(struct transport **t) TAILQ_INIT(&(*t)->repo_commits); TAILQ_INIT(&(*t)->repo_tags); TAILQ_INIT(&(*t)->refs); - - (*t)->repo = NULL; - (*t)->repo_dir = NULL; - (*t)->qs = NULL; - (*t)->next_id = NULL; - (*t)->prev_id = NULL; - (*t)->next_disp = 0; - (*t)->prev_disp = 0; (*t)->fd = -1;