diff options
Diffstat (limited to 'glusterfsd/src/glusterfsd.c')
| -rw-r--r-- | glusterfsd/src/glusterfsd.c | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c index 771af423ea5..5bf0db0edfb 100644 --- a/glusterfsd/src/glusterfsd.c +++ b/glusterfsd/src/glusterfsd.c @@ -2618,6 +2618,10 @@ out:              xl = graph->first;              if ((ctx->active != graph) &&                  (xl && !strcmp(xl->type, "protocol/server"))) { +                /* Take dict ref for every graph xlator to avoid dict leak +                   at the time of graph destroying +                */ +                gluster_graph_take_reference(graph->first);                  glusterfs_graph_fini(graph);                  glusterfs_graph_destroy(graph);              }  | 
