aboutsummaryrefslogtreecommitdiffstats
path: root/scalar.c
diff options
context:
space:
mode:
Diffstat (limited to 'scalar.c')
-rw-r--r--scalar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scalar.c b/scalar.c
index 73b79a5d4c..ac0cb579d3 100644
--- a/scalar.c
+++ b/scalar.c
@@ -732,6 +732,7 @@ static int cmd_reconfigure(int argc, const char **argv)
succeeded = 1;
the_repository = old_repo;
+ repo_clear(&r);
if (toggle_maintenance(1) >= 0)
succeeded = 1;