diff options
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/rpc-transport/rdma/src/rdma.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rpc/rpc-transport/rdma/src/rdma.c b/rpc/rpc-transport/rdma/src/rdma.c index e6ed91e05c7..89a00b736fd 100644 --- a/rpc/rpc-transport/rdma/src/rdma.c +++ b/rpc/rpc-transport/rdma/src/rdma.c @@ -4732,6 +4732,8 @@ init (rpc_transport_t *this) if (gf_rdma_init (this)) { gf_log (this->name, GF_LOG_WARNING, "Failed to initialize IB Device"); + this->private = NULL; + GF_FREE (priv); return -1; } iobuf_pool = this->ctx->iobuf_pool; |