diff options
Diffstat (limited to 'xlators/protocol/client/src/client-helpers.c')
-rw-r--r-- | xlators/protocol/client/src/client-helpers.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/xlators/protocol/client/src/client-helpers.c b/xlators/protocol/client/src/client-helpers.c index 6c028d4ebb7..d8da60aa1ae 100644 --- a/xlators/protocol/client/src/client-helpers.c +++ b/xlators/protocol/client/src/client-helpers.c @@ -98,8 +98,13 @@ client_local_wipe (clnt_local_t *local) if (local) { loc_wipe (&local->loc); - if (local->fd) + if (local->fd) { fd_unref (local->fd); + } + + if (local->iobref) { + iobref_unref (local->iobref); + } GF_FREE (local); } |