From c7fd9f1df36a01ac9a1509d1001b0d259005b0f9 Mon Sep 17 00:00:00 2001 From: Shehjar Tikoo Date: Thu, 21 May 2009 01:37:05 +0000 Subject: mem-pool,io-threads: Destroy mem-pool on deallocation Signed-off-by: Anand V. Avati --- libglusterfs/src/mem-pool.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libglusterfs/src/mem-pool.h') diff --git a/libglusterfs/src/mem-pool.h b/libglusterfs/src/mem-pool.h index 627945e1f..152c17bb4 100644 --- a/libglusterfs/src/mem-pool.h +++ b/libglusterfs/src/mem-pool.h @@ -52,4 +52,6 @@ mem_pool_new_fn (unsigned long sizeof_type, unsigned long count); void mem_put (struct mem_pool *pool, void *ptr); void *mem_get (struct mem_pool *pool); +void mem_pool_destroy (struct mem_pool *pool); + #endif /* _MEM_POOL_H */ -- cgit