Commit Diff


commit - b0c3aa90f1603016465bfb79b4fd860b7fec0e1b
commit + e17984a09be8df91edac0a44b56c088560951d24
blob - 5cabaf1a22b6a5cf622da3f4b48394e7c7bb2e99
blob + e1fc7e795e917a7be22aff253610e8c66eef455c
--- gotweb/gotweb.c
+++ gotweb/gotweb.c
@@ -4889,6 +4889,7 @@ cleanup:
 		    got_repo_pack_fds_close(gw_trans->pack_fds);
 		if (error == NULL)
 			error = pack_err;
+		gw_trans->pack_fds = NULL;
 	}
 	free(gw_trans->gw_conf->got_repos_path);
 	free(gw_trans->gw_conf->got_www_path);