Change _talloc_total_mem_internal() to ignore memory allocated from a pool when calcu...
commit9a11cc54266ad61bb121a3ad33d491cc81b05600
authorJeremy Allison <jra@samba.org>
Tue, 27 Aug 2013 19:46:09 +0000 (27 12:46 -0700)
committerKarolin Seeger <kseeger@samba.org>
Sun, 15 Mar 2015 21:13:08 +0000 (15 22:13 +0100)
treee2d945c6951beb7cce0649eae823f52d71d08f81
parent622fecba75d53a8c9c85602da0a09d2011cfb422
Change _talloc_total_mem_internal() to ignore memory allocated from a pool when calculating limit size.

We must only count normal tallocs, or a talloc pool itself.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Simo Sorce <idra@samba.org>
(cherry picked from commit 4159a78ed7eda340758e22286f16186987a20f2f)
lib/talloc/talloc.c