Remove magic TC_HDR_SIZE handling inside talloc_memlimit_check().
commit622fecba75d53a8c9c85602da0a09d2011cfb422
authorJeremy Allison <jra@samba.org>
Tue, 27 Aug 2013 19:43:50 +0000 (27 12:43 -0700)
committerKarolin Seeger <kseeger@samba.org>
Sun, 15 Mar 2015 21:13:08 +0000 (15 22:13 +0100)
treef0ffe0439ede9ca239bc82d2cc749310e164f264
parentfd0122cc72d161f6b67d3f505e7bd6871445072d
Remove magic TC_HDR_SIZE handling inside talloc_memlimit_check().

Callers already account for TC_HDR_SIZE, do not add it twice.

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