diff options
Diffstat (limited to 'rpc')
| -rw-r--r-- | rpc/rpc-lib/src/rpc-transport.c | 2 | ||||
| -rw-r--r-- | rpc/rpc-lib/src/rpc-transport.h | 2 | 
2 files changed, 4 insertions, 0 deletions
diff --git a/rpc/rpc-lib/src/rpc-transport.c b/rpc/rpc-lib/src/rpc-transport.c index 0a791abfddd..bf4fcad09ff 100644 --- a/rpc/rpc-lib/src/rpc-transport.c +++ b/rpc/rpc-lib/src/rpc-transport.c @@ -463,6 +463,8 @@ rpc_transport_destroy (rpc_transport_t *this)  	GF_VALIDATE_OR_GOTO("rpc_transport", this, fail); +        if (this->clnt_options) +                dict_unref (this->clnt_options);          if (this->options)                  dict_unref (this->options);  	if (this->fini) diff --git a/rpc/rpc-lib/src/rpc-transport.h b/rpc/rpc-lib/src/rpc-transport.h index d0572a16333..97eeff2a3e3 100644 --- a/rpc/rpc-lib/src/rpc-transport.h +++ b/rpc/rpc-lib/src/rpc-transport.h @@ -215,6 +215,8 @@ struct rpc_transport {          int                        bind_insecure;          void                      *dl_handle; /* handle of dlopen() */          char                      *ssl_name; +        dict_t                    *clnt_options; /* store options received from +                                                  * client */  };  struct rpc_transport_ops {  | 
