diff options
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volgen.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volgen.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c index ce6547e6e9e..ec12e45427d 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volgen.c +++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c @@ -328,6 +328,7 @@ glusterd_default_xlator_options (glusterd_volinfo_t *volinfo) ret = set_default_options (volinfo->dict, volinfo->volname); if (ret) { + dict_unref (volinfo->dict); goto out; } @@ -1971,6 +1972,8 @@ out: GF_FREE (fuse_filepath); if (nfs_filepath) GF_FREE (nfs_filepath); + if (nfs_vol_id) + GF_FREE (nfs_vol_id); if (nfs_subvols) GF_FREE (nfs_subvols); if (fuse_fd > 0) |