Remove magic TC_HDR_SIZE handling inside talloc_memlimit_check().
authorJeremy Allison <jra@samba.org>
Tue, 27 Aug 2013 19:43:50 +0000 (12:43 -0700)
committerKarolin Seeger <kseeger@samba.org>
Sun, 15 Mar 2015 21:14:07 +0000 (22:14 +0100)
commitddde41cd74cf37cddd27b4a83f154134a291aa1a
treea40e67ba69c5ef512106b3ee5bc838c76aa6009d
parent079a5e628b535d4cb94e71a1899021986f3b657d
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