aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/getmountlist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/getmountlist.c b/lib/getmountlist.c
index efbcff13..372398ba 100644
--- a/lib/getmountlist.c
+++ b/lib/getmountlist.c
@@ -38,5 +38,6 @@ struct mtab_list *getmountlist(int die)
mtlist = mt;
}
}
+ endmntent(fp);
return mtlist;
}