summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/inode.h
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2011-06-30 06:59:12 +0000
committerAnand Avati <avati@gluster.com>2011-07-01 01:26:16 -0700
commita21c3bb99e5ad59e8e9ec0a050ce8617ce3fe167 (patch)
tree64dac96d5f5fc565ea4d7e6c3d070408de4ee0cc /libglusterfs/src/inode.h
parent64316c419f013464641b84900acc0ff4eeeaf2ae (diff)
inode table: avoid memleak by freeing the allocated structures incase of failure
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 3103 (memleak in inode table creation) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=3103
Diffstat (limited to 'libglusterfs/src/inode.h')
-rw-r--r--libglusterfs/src/inode.h3
1 files changed, 0 insertions, 3 deletions
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
@@ -144,9 +144,6 @@ 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);
int