summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorPrasanna Kumar Kalever <prasanna.kalever@redhat.com>2016-05-02 18:09:12 +0530
committerJeff Darcy <jdarcy@redhat.com>2016-05-02 11:27:46 -0700
commit7f92a3de16f9ac34a9c215a7bc067dc6d084af14 (patch)
tree169b8dc30f1e765ec4e298052b685f979c2db162 /xlators
parentfb77938fc7810dc5ac16b0de9694157cde93635e (diff)
protocol/server: address double free's
Change-Id: Ic8a8fe85cf91c5c7aa93dce872cedbc67464e4ea BUG: 1227667 Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com> Reviewed-on: http://review.gluster.org/14150 Reviewed-by: Jeff Darcy <jdarcy@redhat.com> Tested-by: Prasanna Kumar Kalever <pkalever@redhat.com> Smoke: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Niels de Vos <ndevos@redhat.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/protocol/server/src/server-rpc-fops.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/xlators/protocol/server/src/server-rpc-fops.c b/xlators/protocol/server/src/server-rpc-fops.c
index 64e9f537a1d..bfaf81ee8d7 100644
--- a/xlators/protocol/server/src/server-rpc-fops.c
+++ b/xlators/protocol/server/src/server-rpc-fops.c
@@ -6626,8 +6626,6 @@ out:
if (op_errno)
SERVER_REQ_SET_ERROR (req, ret);
- free (args.xdata.xdata_val);
-
return ret;
}
@@ -6689,8 +6687,6 @@ out:
if (op_errno)
SERVER_REQ_SET_ERROR (req, ret);
- free (args.xdata.xdata_val);
-
return ret;
}