summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-lib/src
diff options
context:
space:
mode:
authorZhang Huan <zhanghuan@open-fs.com>2018-07-27 08:42:00 +0800
committerAmar Tumballi <amarts@redhat.com>2018-07-28 07:21:12 +0000
commit2e0744570fe1f6148e0c7b1c1a5bf98cc4eaf990 (patch)
treed97960e916ddea29ad41a6356298bcd6b04eccde /rpc/rpc-lib/src
parente7c87f757c9dbf2492c22f8b5a4c9700e126af31 (diff)
rpc: fix return value in rpc destroy
Change-Id: I73a113e2d40f508fd53b273a990a2371692c87bf fixes: bz#1607689 Signed-off-by: Zhang Huan <zhanghuan@open-fs.com>
Diffstat (limited to 'rpc/rpc-lib/src')
-rw-r--r--rpc/rpc-lib/src/rpc-transport.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rpc/rpc-lib/src/rpc-transport.c b/rpc/rpc-lib/src/rpc-transport.c
index 40a40fa..062d790 100644
--- a/rpc/rpc-lib/src/rpc-transport.c
+++ b/rpc/rpc-lib/src/rpc-transport.c
@@ -489,6 +489,8 @@ rpc_transport_destroy (rpc_transport_t *this)
}
GF_FREE (this);
+
+ ret = 0;
fail:
return ret;
}