Inside _talloc_realloc(), keep track of size changes over malloc/realloc/free.
commit595a97e554f68bee95414dec91a358a3d7a9bced
authorJeremy Allison <jra@samba.org>
Tue, 27 Aug 2013 20:07:04 +0000 (27 13:07 -0700)
committerKarolin Seeger <kseeger@samba.org>
Sun, 15 Mar 2015 21:13:09 +0000 (15 22:13 +0100)
tree323ec7e12bc01fba0fe44728a6dd88a668996c2f
parenta1e788b3adfe12fedae6216aee28c332c83496a5
Inside _talloc_realloc(), keep track of size changes over malloc/realloc/free.

Replace the last use of talloc_memlimit_update() with talloc_memlimit_grow()/
talloc_memlimit_shrink().

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