summaryrefslogtreecommitdiffstats
path: root/repository.c
diff options
context:
space:
mode:
Diffstat (limited to 'repository.c')
-rw-r--r--repository.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/repository.c b/repository.c
index 2118f563e3..c50849fd83 100644
--- a/repository.c
+++ b/repository.c
@@ -302,6 +302,8 @@ void repo_clear(struct repository *repo)
parsed_object_pool_clear(repo->parsed_objects);
FREE_AND_NULL(repo->parsed_objects);
+ FREE_AND_NULL(repo->settings.fsmonitor);
+
if (repo->config) {
git_configset_clear(repo->config);
FREE_AND_NULL(repo->config);