summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2010-05-12 01:08:55 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-05-13 12:12:23 -0700
commit779b491070914199a50a7acdf6faa04d343c3e7a (patch)
treeff53640c6ac4c34b5f72da7525ac857a94c393e8
parent663bac225369bec7603203727195cad950db8f02 (diff)
fix memory leak in mkdir, mknod, symlink by freeing local
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 920 (memory leak in stat-prefetch) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=920
-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 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;
}