From 7d8c65c74e4a38f78801ae77a90cdb9a60c370c4 Mon Sep 17 00:00:00 2001 From: Raghavendra Bhat Date: Fri, 11 Jun 2010 05:17:53 +0000 Subject: free local->loc structure by using SP_STACK_UNWIND instead of STACK_UNWIND Signed-off-by: Raghavendra Bhat Signed-off-by: Anand V. Avati BUG: 993 (memory leak-in stat-prefetch) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=993 --- xlators/performance/stat-prefetch/src/stat-prefetch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xlators/performance/stat-prefetch/src/stat-prefetch.c b/xlators/performance/stat-prefetch/src/stat-prefetch.c index a9adcbf4306..341583b4683 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; } -- cgit