From 4e40a7e48757feedc959c7982acf05c73f739a15 Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Wed, 11 Jan 2012 10:38:45 +0530 Subject: mount/fuse: Fix memory leaks Change-Id: Iff10650dc8234f9d8ca0472f2e1ea9c60fbd6d4e BUG: 773211 Signed-off-by: Pranith Kumar K Reviewed-on: http://review.gluster.com/2630 Tested-by: Gluster Build System Reviewed-by: Jeff Darcy Reviewed-by: Anand Avati --- xlators/mount/fuse/src/fuse-bridge.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xlators/mount') diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c index 8a0dec09b..5b3845919 100644 --- a/xlators/mount/fuse/src/fuse-bridge.c +++ b/xlators/mount/fuse/src/fuse-bridge.c @@ -3979,6 +3979,9 @@ init (xlator_t *this_xl) priv->fuse_ops = fuse_dump_ops; } + if (fsname_allocated) + GF_FREE (fsname); + GF_FREE (mnt_args); return 0; cleanup_exit: -- cgit