From 779b491070914199a50a7acdf6faa04d343c3e7a Mon Sep 17 00:00:00 2001 From: Raghavendra Bhat Date: Wed, 12 May 2010 01:08:55 +0000 Subject: fix memory leak in mkdir, mknod, symlink by freeing local Signed-off-by: Raghavendra Bhat Signed-off-by: Anand V. Avati BUG: 920 (memory leak in stat-prefetch) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=920 --- 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 f6aad159e75..caf932f4fc4 100644 --- a/xlators/performance/stat-prefetch/src/stat-prefetch.c +++ b/xlators/performance/stat-prefetch/src/stat-prefetch.c @@ -1678,7 +1678,7 @@ sp_new_entry_cbk (call_frame_t *frame, void *cookie, xlator_t *this, &looked_up, NULL, &op_errno); out: - STACK_UNWIND (frame, op_ret, op_errno, inode, buf); + SP_STACK_UNWIND (frame, op_ret, op_errno, inode, buf); return 0; } -- cgit