From 25ebdcd50685c4364fc852feca201f8335d47b52 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 29 Jun 2009 16:00:49 +0100 Subject: [PATCH] Fix memory leak in daemon/mount.c:do_mount_vfs. --- daemon/mount.c | 1 + 1 file changed, 1 insertion(+) diff --git a/daemon/mount.c b/daemon/mount.c index 4955fcf..67b548e 100644 --- a/daemon/mount.c +++ b/daemon/mount.c @@ -71,6 +71,7 @@ do_mount_vfs (char *options, char *vfstype, else r = command (NULL, &error, "mount", "-o", options, device, mp, NULL); + free (mp); if (r == -1) { reply_with_error ("mount: %s on %s: %s", device, mountpoint, error); free (error); -- 1.8.3.1