diff options
Diffstat (limited to 'libglusterfs/src/rbthash.c')
-rw-r--r-- | libglusterfs/src/rbthash.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libglusterfs/src/rbthash.c b/libglusterfs/src/rbthash.c index c134c3a0012..beda672d0f7 100644 --- a/libglusterfs/src/rbthash.c +++ b/libglusterfs/src/rbthash.c @@ -201,7 +201,7 @@ rbthash_init_entry (rbthash_table_t *tbl, void *data, void *key, int keylen) ret = 0; free_entry: if (ret == -1) { - mem_put (tbl->entrypool, entry); + mem_put (entry); entry = NULL; } @@ -230,7 +230,7 @@ rbthash_deinit_entry (rbthash_table_t *tbl, rbthash_entry_t *entry) } UNLOCK (&tbl->tablelock); - mem_put (tbl->entrypool, entry); + mem_put (entry); } return; @@ -398,7 +398,7 @@ rbthash_remove (rbthash_table_t *tbl, void *key, int keylen) } UNLOCK (&tbl->tablelock); - mem_put (tbl->entrypool, entry); + mem_put (entry); return dataref; } |