diff options
| author | Muthu-vigneshwaran <mvignesh@redhat.com> | 2016-08-05 14:05:36 +0530 | 
|---|---|---|
| committer | Jeff Darcy <jdarcy@redhat.com> | 2016-08-11 06:19:58 -0700 | 
| commit | d7c7f87ee3f442ef24cbffb30df289bb26b20a5d (patch) | |
| tree | 07f5d8eda820b1c0de2e5c77a31679a978312b9a /rpc/rpc-lib | |
| parent | 3c41525001c49d7ada5f54bb3c97bf82909ee23e (diff) | |
rpc: fixing illegal memory access
CID:1357876
Change-Id: I34eee0bf0367f963ddf6e9d6b28b7d3a9af12c90
BUG: 789278
Signed-off-by: Muthu-vigneshwaran <mvignesh@redhat.com>
Reviewed-on: http://review.gluster.org/15094
Tested-by: Muthu Vigneshwaran
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Smoke: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'rpc/rpc-lib')
| -rw-r--r-- | rpc/rpc-lib/src/rpc-transport.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/rpc-lib/src/rpc-transport.c b/rpc/rpc-lib/src/rpc-transport.c index 1216b9fb3df..005b68c5cbc 100644 --- a/rpc/rpc-lib/src/rpc-transport.c +++ b/rpc/rpc-lib/src/rpc-transport.c @@ -676,9 +676,9 @@ rpc_transport_inet_options_build (dict_t **options, const char *hostname,          ret = dict_set_dynstr (dict, "remote-host", host);          if (ret) { -                GF_FREE (host);                  gf_log (THIS->name, GF_LOG_WARNING,                          "failed to set remote-host with %s", host); +                GF_FREE (host);                  goto out;          }  | 
