commit ba77389f9f3a659ebd77c8a4b4974c645e0530fd from: Omar Polo via: Thomas Adam date: Wed May 17 15:49:55 2023 UTC don't zero fields of a calloc()-allocated struct commit - c4c6774f44148ea66dc566dfdcf36f531f9e5291 commit + ba77389f9f3a659ebd77c8a4b4974c645e0530fd blob - e61d0fe945666875ad913c3ef3a61a2e50b72a06 blob + cae5985aa3a3968aadb3cf089a8d0784b604f45d --- gotwebd/gotweb.c +++ gotwebd/gotweb.c @@ -422,14 +422,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;