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)
committerStefan Metzmacher <metze@samba.org>
Tue, 10 Mar 2015 09:55:36 +0000 (10:55 +0100)
commit0a0314d160ae8e316e8a64975b6b9f12ec07a60f
treea40e67ba69c5ef512106b3ee5bc838c76aa6009d
parent3bf9b642a72c2a271db96f51ee1a1139a2b1273a
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