talloc: Decouple the dual use of chunk->pool
commita6a4ec715fd8006ce9be6015face741ad1952560
authorVolker Lendecke <vl@samba.org>
Fri, 6 Sep 2013 17:54:43 +0000 (6 10:54 -0700)
committerKarolin Seeger <kseeger@samba.org>
Sun, 15 Mar 2015 21:13:09 +0000 (15 22:13 +0100)
treed9522fea3be51b0b4776e40f88feea0a1010841d
parent133b1c60c16d0cd62e4419424bffb3737b3b50cf
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>
(cherry picked from commit 1334c745e1f2157b66e14f9d8b4f6f7750238717)
lib/talloc/talloc.c