From 28d10d5dfdca4015827679dcc9a18d0e75624287 Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Mon, 2 Nov 2009 00:21:51 +0000 Subject: call-stub: fix leak of fxattrop dictionary Signed-off-by: Anand V. Avati 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(-) diff --git a/libglusterfs/src/call-stub.c b/libglusterfs/src/call-stub.c index 970300c81..40ebfd844 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: -- cgit