summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-lib
diff options
context:
space:
mode:
authorVijay Bellur <vbellur@redhat.com>2013-05-13 17:57:06 +0530
committerAnand Avati <avati@redhat.com>2013-05-20 23:08:12 -0700
commit63b2b09f8f40ba265d3487082d5b0aaef7a491a2 (patch)
tree083fd3534aac842b021d3e26d5f604ca56a12d16 /rpc/rpc-lib
parent9a4585f4b3a7ea7bb4b3931462c06cbf13c4fcff (diff)
rpcsvc: fix dangerous setting of pointer on free'd structure.
Change-Id: I6b666115a8ce155563078d7fc476d41486bab54f BUG: 884452 Signed-off-by: Vijay Bellur <vbellur@redhat.com> Reviewed-on: http://review.gluster.org/4995 Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com> Reviewed-by: Jeff Darcy <jdarcy@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'rpc/rpc-lib')
-rw-r--r--rpc/rpc-lib/src/rpcsvc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/rpc/rpc-lib/src/rpcsvc.c b/rpc/rpc-lib/src/rpcsvc.c
index c8595ee8ed1..5c0519f57c8 100644
--- a/rpc/rpc-lib/src/rpcsvc.c
+++ b/rpc/rpc-lib/src/rpcsvc.c
@@ -547,7 +547,6 @@ rpcsvc_handle_rpc_call (rpcsvc_t *svc, rpc_transport_t *trans,
req);
} else {
ret = actor_fn (req);
- req->hdr_iobuf = NULL;
}
}