summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/client/src/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/protocol/client/src/client.c')
-rw-r--r--xlators/protocol/client/src/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/protocol/client/src/client.c b/xlators/protocol/client/src/client.c
index 50cb917aacc..1cc96532b04 100644
--- a/xlators/protocol/client/src/client.c
+++ b/xlators/protocol/client/src/client.c
@@ -2008,7 +2008,7 @@ fini (xlator_t *this)
if (conf) {
if (conf->rpc)
- rpc_clnt_destroy (conf->rpc);
+ rpc_clnt_unref (conf->rpc);
/* Saved Fds */
/* TODO: */