summaryrefslogtreecommitdiffstats
path: root/daemon/mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/mount.c')
-rw-r--r--daemon/mount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/mount.c b/daemon/mount.c
index 4955fcf3..67b548ef 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);