mount.nfs: Don't leak extra_opts
Subsystems (2)
PATCH 2/24 mount.nfs: Don't leak extra_opts
Properly release extra_opts before exiting.
Signed-off-by Chuck Lever <[email protected]>
---
utils/mount/mount.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
utils/mount/mount.c +2 -0
@@ -575,6 +575,8 @@ int main(int argc, char *argv[]) } out: +if (extra_opts) +free (extra_opts);free (mount_point);exit (mnt_err); }
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs