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; }