From a21c3bb99e5ad59e8e9ec0a050ce8617ce3fe167 Mon Sep 17 00:00:00 2001 From: Raghavendra Bhat Date: Thu, 30 Jun 2011 06:59:12 +0000 Subject: inode table: avoid memleak by freeing the allocated structures incase of failure Signed-off-by: Raghavendra Bhat Signed-off-by: Anand Avati BUG: 3103 (memleak in inode table creation) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=3103 --- libglusterfs/src/inode.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'libglusterfs/src/inode.h') diff --git a/libglusterfs/src/inode.h b/libglusterfs/src/inode.h index 7eea0c5a..db2933f8 100644 --- a/libglusterfs/src/inode.h +++ b/libglusterfs/src/inode.h @@ -143,9 +143,6 @@ inode_rename (inode_table_t *table, inode_t *olddir, const char *oldname, inode_t * inode_grep (inode_table_t *table, inode_t *parent, const char *name); -inode_t * -inode_get (inode_table_t *table, ino_t ino, uint64_t gen); - inode_t * inode_find (inode_table_t *table, uuid_t gfid); -- cgit