summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnand Avati <avati@gluster.com>2009-11-02 00:21:51 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-11-01 21:54:03 -0800
commit28d10d5dfdca4015827679dcc9a18d0e75624287 (patch)
tree039512273c69133cfbb4b5ec6311de014a9e33db
parent4ff046a1e1747cf93c650bd9c630547cdeaa3793 (diff)
call-stub: fix leak of fxattrop dictionary
Signed-off-by: Anand V. Avati <avati@blackhole.gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 315 (generation number support) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=315
-rw-r--r--libglusterfs/src/call-stub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/call-stub.c b/libglusterfs/src/call-stub.c
index 970300c81d1..40ebfd8444d 100644
--- a/libglusterfs/src/call-stub.c
+++ b/libglusterfs/src/call-stub.c
@@ -3872,7 +3872,7 @@ call_stub_destroy_wind (call_stub_t *stub)
{
if (stub->args.fxattrop.fd)
fd_unref (stub->args.fxattrop.fd);
- dict_unref (stub->args.xattrop.xattr);
+ dict_unref (stub->args.fxattrop.xattr);
break;
}
case GF_FOP_LOCK_NOTIFY: