talloc: Decouple the dual use of chunk->pool
authorVolker Lendecke <vl@samba.org>
Fri, 6 Sep 2013 17:54:43 +0000 (10:54 -0700)
committerVolker Lendecke <vl@samba.org>
Sun, 8 Sep 2013 09:34:06 +0000 (11:34 +0200)
commit1334c745e1f2157b66e14f9d8b4f6f7750238717
tree6465a99539d535594f3aec94e64e590faa5d1261
parent81f8b9c29f317d8a6bd0354cdef9bd319118b583
talloc: Decouple the dual use of chunk->pool

If we want nested pools, we will have pools that are pool members. So
we will have to have a separate "next object" pointer  for pools. As
we have struct talloc_pool_chunk now, this additional pointer does not
affect normal talloc objects.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
lib/talloc/talloc.c