rpc: fix return value in rpc destroy

Change-Id: I73a113e2d40f508fd53b273a990a2371692c87bf
fixes: bz#1607689
Signed-off-by: Zhang Huan <zhanghuan@open-fs.com>
This commit is contained in:
Zhang Huan 2018-07-27 08:42:00 +08:00 committed by Amar Tumballi
parent e7c87f757c
commit 2e0744570f

View File

@ -489,6 +489,8 @@ rpc_transport_destroy (rpc_transport_t *this)
}
GF_FREE (this);
ret = 0;
fail:
return ret;
}