summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnand V. Avati <avati@gluster.com>2009-04-14 14:51:16 +0530
committerAnand V. Avati <avati@amp.gluster.com>2009-04-14 14:52:52 +0530
commit1ce5acccf5186e70424826d4f22cee3a29ac114e (patch)
tree09188c228676a8a659f4b0d95ca832323738e973
parent8b32e03f87599bd3d87ec99c5718d40ff10831ff (diff)
FREE arena->iobufs in iobuf_arena_destory
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
-rw-r--r--libglusterfs/src/iobuf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libglusterfs/src/iobuf.c b/libglusterfs/src/iobuf.c
index a4c6918d77d..5ef5d284812 100644
--- a/libglusterfs/src/iobuf.c
+++ b/libglusterfs/src/iobuf.c
@@ -82,6 +82,8 @@ __iobuf_arena_destroy_iobufs (struct iobuf_arena *iobuf_arena)
list_del_init (&iobuf->list);
iobuf++;
}
+
+ FREE (iobuf_arena->iobufs);
}