summaryrefslogtreecommitdiff
path: root/lib/tdb/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2013-08-27 12:49:00 -0700
committerJeremy Allison <jra@samba.org>2013-08-27 15:44:19 -0700
commita4ebbe73b4b8dcab4d344e693ad9796ec8997f87 (patch)
tree27756019ee0e9751b09f4c0091f7bbd67547d262 /lib/tdb/include
parent4159a78ed7eda340758e22286f16186987a20f2f (diff)
downloadsamba-a4ebbe73b4b8dcab4d344e693ad9796ec8997f87.tar.gz
samba-a4ebbe73b4b8dcab4d344e693ad9796ec8997f87.tar.bz2
samba-a4ebbe73b4b8dcab4d344e693ad9796ec8997f87.zip
Change __talloc() to only call talloc_memlimit_check()/talloc_memlimit_grow() on actual malloc allocation.
Don't check the memlimit if the allocation was successful from a pool. We already checked the memory limit when we created the pool. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Simo Sorce <idra@samba.org>
Diffstat (limited to 'lib/tdb/include')
0 files changed, 0 insertions, 0 deletions