diff options
Diffstat (limited to 'rpc/rpc-lib')
-rw-r--r-- | rpc/rpc-lib/src/rpc-transport.c | 4 | ||||
-rw-r--r-- | rpc/rpc-lib/src/rpc-transport.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/rpc/rpc-lib/src/rpc-transport.c b/rpc/rpc-lib/src/rpc-transport.c index c24d4108403..cf7f903056a 100644 --- a/rpc/rpc-lib/src/rpc-transport.c +++ b/rpc/rpc-lib/src/rpc-transport.c @@ -447,6 +447,10 @@ rpc_transport_destroy (rpc_transport_t *this) if (this->dl_handle) dlclose (this->dl_handle); + if (this->ssl_name) { + GF_FREE(this->ssl_name); + } + GF_FREE (this); fail: return ret; diff --git a/rpc/rpc-lib/src/rpc-transport.h b/rpc/rpc-lib/src/rpc-transport.h index 2db9072ae49..117d5e1e8ce 100644 --- a/rpc/rpc-lib/src/rpc-transport.h +++ b/rpc/rpc-lib/src/rpc-transport.h @@ -214,6 +214,7 @@ struct rpc_transport { struct list_head list; int bind_insecure; void *dl_handle; /* handle of dlopen() */ + char *ssl_name; }; struct rpc_transport_ops { |