diff options
author | Raghavendra G <raghavendra@zresearch.com> | 2009-03-23 23:45:53 -0700 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-03-24 21:53:12 +0530 |
commit | 8f590ad883c170827cc06dcbcb17e5aaa1788996 (patch) | |
tree | d1791e109768a42c994dc3aafe415736c25d8eac | |
parent | 270621b34af7528755373e04b07f959c8dca274b (diff) |
dht memory leak fix
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
-rw-r--r-- | xlators/cluster/dht/src/dht-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c index 7bce090cbd6..d7a16fa425d 100644 --- a/xlators/cluster/dht/src/dht-common.c +++ b/xlators/cluster/dht/src/dht-common.c @@ -3362,7 +3362,7 @@ dht_forget (xlator_t *this, inode_t *inode) inode_ctx_get (inode, this, &tmp_layout); - if (!layout) + if (!tmp_layout) return 0; layout = (dht_layout_t *)(long)tmp_layout; if (!layout->preset) |