]> git.decadent.org.uk Git - nfs-utils.git/commit
mount.nfs: Don't leak mount_opts
authorChuck Lever <chuck.lever@oracle.com>
Mon, 24 Sep 2007 15:28:54 +0000 (11:28 -0400)
committerNeil Brown <neilb@suse.de>
Tue, 25 Sep 2007 01:50:16 +0000 (11:50 +1000)
commit5951bf64c141511632e88693dc92ac77cff025d3
tree661f9af440c00149d8c430dc25dff7f887e0a34e
parent1ca7f42bfa6d4f47c88f82ecc33f2abb3cf92da7
mount.nfs: Don't leak mount_opts

A C string containing the user's requested mount options is constructed by
the main mount function in utils/mount/mount.c, but is never freed.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Neil Brown <neilb@suse.de>
utils/mount/mount.c