]> err.no Git - util-linux/commit
lib: fix file descriptor leak in is_mounted()
authorTheodore Ts'o <tytso@mit.edu>
Sat, 3 Oct 2009 16:50:06 +0000 (12:50 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 3 Oct 2009 16:50:06 +0000 (12:50 -0400)
commitfdf08588af55d07a99b411708a08f4ebe6819706
tree5f9700ab8e14e29112eff9f480f93c2aba21981c
parent741064af10ec81635d708e9fb8373f96341246eb
lib: fix file descriptor leak in is_mounted()

Remove an extraneous fopen() that leaks memory and a file descriptor.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ismounted.c