X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/e87e89633383b8b75c68c98be3e0c14212109de2..931fc6d1e4986a4566647dda16af09bf69a28b89:/cgit.c diff --git a/cgit.c b/cgit.c index 763242a..6ec763f 100644 --- a/cgit.c +++ b/cgit.c @@ -440,6 +440,7 @@ int main(int argc, const char **argv) parse_configfile(cgit_config_env ? cgit_config_env : CGIT_CONFIG, config_cb); + ctx.repo = NULL; if (getenv("SCRIPT_NAME")) ctx.cfg.script_name = xstrdup(getenv("SCRIPT_NAME")); if (getenv("QUERY_STRING"))