aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/homedir.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/homedir.c b/common/homedir.c
index e1b55f296..174d961e9 100644
--- a/common/homedir.c
+++ b/common/homedir.c
@@ -636,6 +636,8 @@ unix_rootdir (int want_sysconfdir)
es_fclose (fp);
xfree (buffer);
xfree (line);
+ xfree (rootdir);
+ xfree (sysconfdir);
checked = 1;
return NULL;
}