diff options
author | Lukas Bezdicka <lukas.bezdicka@gooddata.com> | 2014-01-29 11:20:08 +0100 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2014-02-04 11:29:27 -0800 |
commit | 2f8a8cfc27e6a73ff0238681ea40563c8768d4e6 (patch) | |
tree | f6eec392a3165ccf8dfbbb6e9379ecbab054c76f /xlators/lib | |
parent | 7282094c5f387d7be1a353c7ed19c8e4a1e49eec (diff) |
libxlator: fix memleak in cluster_markerxtime_cbk and cluster_markeruuid_cbk
Change-Id: Ide3574bf9f661b077f707990d47821feda18b1a3
BUG: 841617
Reviewed-on: http://review.gluster.org/6850
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/lib')
-rw-r--r-- | xlators/lib/src/libxlator.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/lib/src/libxlator.c b/xlators/lib/src/libxlator.c index 63e9bcf9f0a..4e680c510ca 100644 --- a/xlators/lib/src/libxlator.c +++ b/xlators/lib/src/libxlator.c @@ -233,6 +233,7 @@ out: frame->local = local->xl_local; local->xl_specf_unwind (frame, op_ret, op_errno, dict, xdata); + GF_FREE (local); } else if (need_unwind) { STACK_UNWIND_STRICT (getxattr, frame, op_ret, op_errno, dict, xdata); @@ -344,6 +345,7 @@ unlock: frame->local = local->xl_local; local->xl_specf_unwind (frame, op_ret, op_errno, dict, xdata); + GF_FREE (local); return 0; } else if (need_unwind){ STACK_UNWIND_STRICT (getxattr, frame, op_ret, op_errno, |