]> 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)
committerKarel Zak <kzak@redhat.com>
Mon, 30 Nov 2009 13:23:34 +0000 (14:23 +0100)
commit09a292ff1c8fa2b446f0af9b16e57457b1300276
tree76321532322d8f4b0cb45987a4cd2678b703510b
parent5166c9b1c3bfa2b58371a4859efffb32e9c062a5
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