summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2010-06-11 05:17:53 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-06-14 04:32:14 -0700
commit7d8c65c74e4a38f78801ae77a90cdb9a60c370c4 (patch)
treeb170808c055646c63f9ca1dac6e9b95e600ff5ad
parent4533d3789865bdb0f8c6b923ed340293bc20f5ef (diff)
free local->loc structure by using SP_STACK_UNWIND instead of STACK_UNWIND
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 993 (memory leak-in stat-prefetch) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=993
-rw-r--r--xlators/performance/stat-prefetch/src/stat-prefetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/performance/stat-prefetch/src/stat-prefetch.c b/xlators/performance/stat-prefetch/src/stat-prefetch.c
index a9adcbf..341583b 100644
--- a/xlators/performance/stat-prefetch/src/stat-prefetch.c
+++ b/xlators/performance/stat-prefetch/src/stat-prefetch.c
@@ -2995,7 +2995,7 @@ int32_t
sp_getxattr_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
int32_t op_ret, int32_t op_errno, dict_t *dict)
{
- STACK_UNWIND (frame, op_ret, op_errno, dict);
+ SP_STACK_UNWIND (getxattr, frame, op_ret, op_errno, dict);
return 0;
}