From 1ca7f42bfa6d4f47c88f82ecc33f2abb3cf92da7 Mon Sep 17 00:00:00 2001 From: Chuck Lever Date: Mon, 24 Sep 2007 11:28:49 -0400 Subject: [PATCH] mount.nfs: Don't leak extra_opts The mount.nfs[4] command should properly release extra_opts before exiting. Signed-off-by: Chuck Lever Signed-off-by: Neil Brown --- utils/mount/mount.c | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/mount/mount.c b/utils/mount/mount.c index 31e1969..fe2c48b 100644 --- a/utils/mount/mount.c +++ b/utils/mount/mount.c @@ -575,6 +575,7 @@ int main(int argc, char *argv[]) } out: + free(extra_opts); free(mount_point); exit(mnt_err); } -- 2.39.5