From c68255daa11937b7f91de11f8d4361d798aa8cbc Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Thu, 29 Oct 2009 22:53:57 +0000 Subject: call-stub: fix leak of fxattrop dictionary Signed-off-by: Anand V. Avati BUG: 315 (generation number support) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=315 --- libglusterfs/src/call-stub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libglusterfs') 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: -- cgit