Change _talloc_total_mem_internal() to ignore memory allocated from a pool when calcu...
commit4159a78ed7eda340758e22286f16186987a20f2f
authorJeremy Allison <jra@samba.org>
Tue, 27 Aug 2013 19:46:09 +0000 (27 12:46 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 27 Aug 2013 22:44:19 +0000 (27 15:44 -0700)
tree6460d1f773d7f7549dcc0265ab33b4cf5ffa3362
parent7a6beae68ee3f9a97e9e56f4e24a437839fb3e19
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>
lib/talloc/talloc.c