mount/nfsmount.c:455: leaked_storage: Variable "mounthost" going out of scope leaks the storage it points to. Signed-off-by: Steve Dickson <steved@xxxxxxxxxx> --- utils/mount/nfsmount.c | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/mount/nfsmount.c b/utils/mount/nfsmount.c index 952a755..3d95da9 100644 --- a/utils/mount/nfsmount.c +++ b/utils/mount/nfsmount.c @@ -452,6 +452,7 @@ parse_options(char *old_opts, struct nfs_mount_data *data, nfs_error(_("%s: Bad nfs mount parameter: %s\n"), progname, opt); out_bad: free(tmp_opts); + free(mounthost); return 0; } -- 2.20.1