diff options
author | Stefan Behrens <sbehrens@giantdisaster.de> | 2013-04-09 19:08:31 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2013-04-23 18:56:22 +0200 |
commit | 75c47053a44e77126faa67c93e2833887e4cf21e (patch) | |
tree | cf19beefca9570d0688ca89b2bf6e0ff4ef63057 /cmds-send.c | |
parent | 42989f492963e7c17a08d1844cd09d48db441a32 (diff) | |
download | btrfs-progs-75c47053a44e77126faa67c93e2833887e4cf21e.tar.gz btrfs-progs-75c47053a44e77126faa67c93e2833887e4cf21e.tar.bz2 btrfs-progs-75c47053a44e77126faa67c93e2833887e4cf21e.zip |
Btrfs-progs: close file descriptor in cmds-send.c
valgrind found this very obvious issue.
Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
Diffstat (limited to 'cmds-send.c')
-rw-r--r-- | cmds-send.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds-send.c b/cmds-send.c index 5a7183d0..3ba5af67 100644 --- a/cmds-send.c +++ b/cmds-send.c @@ -82,6 +82,7 @@ int find_mount_root(const char *path, char **mount_root) } } } + fclose(mnttab); *mount_root = realpath(longest_match, NULL); free(longest_match); |