summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src')
-rw-r--r--libglusterfs/src/graph.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/graph.c b/libglusterfs/src/graph.c
index 772820220f..bbc5ad68d9 100644
--- a/libglusterfs/src/graph.c
+++ b/libglusterfs/src/graph.c
@@ -1763,6 +1763,7 @@ glusterfs_process_svc_attach_volfp(glusterfs_ctx_t *ctx, FILE *fp,
if (strcmp(ctx->cmd_args.process_name, "glustershd") == 0) {
ret = glusterfs_update_mux_pid(dict, volfile_obj);
if (ret == -1) {
+ GF_FREE(volfile_obj);
goto out;
}
}