From: Chuck Lever Date: Mon, 24 Sep 2007 15:28:44 +0000 (-0400) Subject: text-based mount.nfs: Fix memory leak in add_mtab() X-Git-Tag: nfs-utils-1-1-1~51 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=d97d88b288413b4e528e22739bfb08594efe9940;hp=d97d88b288413b4e528e22739bfb08594efe9940;ds=sidebyside text-based mount.nfs: Fix memory leak in add_mtab() The add_mtab() function in utils/mount/mount.c calls fix_opts_string() to construct an /etc/mtab entry, but never frees the result. Signed-off-by: Chuck Lever Signed-off-by: Neil Brown ---