summaryrefslogtreecommitdiffstats
path: root/api/src/glfs-mgmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'api/src/glfs-mgmt.c')
-rw-r--r--api/src/glfs-mgmt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/api/src/glfs-mgmt.c b/api/src/glfs-mgmt.c
index b2728477ef7..1726dac6ce4 100644
--- a/api/src/glfs-mgmt.c
+++ b/api/src/glfs-mgmt.c
@@ -766,6 +766,8 @@ glfs_volfile_fetch (struct glfs *fs)
GF_HNDSK_GETSPEC, glfs_mgmt_getspec_cbk,
(xdrproc_t)xdr_gf_getspec_req);
out:
+ if (req.xdata.xdata_val)
+ GF_FREE(req.xdata.xdata_val);
if (dict)
dict_unref (dict);