summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnand Avati <avati@gluster.com>2009-10-29 22:53:57 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-10-29 21:47:43 -0700
commitc68255daa11937b7f91de11f8d4361d798aa8cbc (patch)
tree441d5e2a530e301b896cba6842252567ab748f5d
parent382b4d03ab029a94f29231e19db9996596985bb7 (diff)
call-stub: fix leak of fxattrop dictionary
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 e35a0f85ea0..04d49a1e39e 100644
--- a/libglusterfs/src/call-stub.c
+++ b/libglusterfs/src/call-stub.c
@@ -3980,7 +3980,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: