diff options
Diffstat (limited to 'xlators/protocol/legacy/server/src/server-helpers.c')
-rw-r--r-- | xlators/protocol/legacy/server/src/server-helpers.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xlators/protocol/legacy/server/src/server-helpers.c b/xlators/protocol/legacy/server/src/server-helpers.c index 79104752f..08f89af5a 100644 --- a/xlators/protocol/legacy/server/src/server-helpers.c +++ b/xlators/protocol/legacy/server/src/server-helpers.c @@ -86,6 +86,11 @@ free_old_server_state (server_state_t *state) state->fd = NULL; } + if (state->params) { + dict_unref (state->params); + state->params = NULL; + } + if (state->iobref) { iobref_unref (state->iobref); state->iobref = NULL; |