summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/server
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/protocol/server')
-rw-r--r--xlators/protocol/server/src/server3_1-fops.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/xlators/protocol/server/src/server3_1-fops.c b/xlators/protocol/server/src/server3_1-fops.c
index 914d5160d..0e252b5c3 100644
--- a/xlators/protocol/server/src/server3_1-fops.c
+++ b/xlators/protocol/server/src/server3_1-fops.c
@@ -4866,6 +4866,9 @@ out:
if (args.xdata.xdata_val)
free (args.xdata.xdata_val);
+ if (args.flock.lk_owner.lk_owner_val)
+ free (args.flock.lk_owner.lk_owner_val);
+
if (op_errno)
req->rpc_err = GARBAGE_ARGS;
@@ -4951,6 +4954,9 @@ out:
if (args.xdata.xdata_val)
free (args.xdata.xdata_val);
+ if (args.flock.lk_owner.lk_owner_val)
+ free (args.flock.lk_owner.lk_owner_val);
+
if (op_errno)
req->rpc_err = GARBAGE_ARGS;
@@ -5420,6 +5426,9 @@ out:
if (args.xdata.xdata_val)
free (args.xdata.xdata_val);
+ if (args.flock.lk_owner.lk_owner_val)
+ free (args.flock.lk_owner.lk_owner_val);
+
if (op_errno)
req->rpc_err = GARBAGE_ARGS;