diff options
| -rw-r--r-- | xlators/protocol/server/src/server-protocol.c | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/xlators/protocol/server/src/server-protocol.c b/xlators/protocol/server/src/server-protocol.c index 628609500..3ebebdf19 100644 --- a/xlators/protocol/server/src/server-protocol.c +++ b/xlators/protocol/server/src/server-protocol.c @@ -3342,6 +3342,7 @@ server_fxattrop (call_frame_t *frame, xlator_t *bound_xl,                  }                  dict->extra_free = req_dictbuf;                  state->dict = dict; +                dict = NULL;          }          resolve_and_resume (frame, server_fxattrop_resume); @@ -3417,7 +3418,8 @@ server_xattrop (call_frame_t *frame, xlator_t *bound_xl,                          goto fail;                  }                  dict->extra_free = req_dictbuf; -                state->dict = dict_ref (dict); +                state->dict = dict; +                dict = NULL;          }          resolve_and_resume (frame, server_xattrop_resume);  | 
