summaryrefslogtreecommitdiff
path: root/lib/talloc/wscript
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2012-09-22 16:15:47 -0400
committerSimo Sorce <idra@samba.org>2012-10-05 05:57:17 +0200
commita33a78c302fde61fdb7a6e71669f19be2cf5c836 (patch)
treec6b06de88fe07acf5999be3f1d24884827a44fb1 /lib/talloc/wscript
parent78594909b8b22bd07978922b1c85dfd6f6456963 (diff)
downloadsamba-a33a78c302fde61fdb7a6e71669f19be2cf5c836.tar.gz
samba-a33a78c302fde61fdb7a6e71669f19be2cf5c836.tar.bz2
samba-a33a78c302fde61fdb7a6e71669f19be2cf5c836.zip
Add memory limiting capability to talloc
By calling talloc_set_memlimit() we can now set a max memory limit for a whole talloc hierarchy. ANy attempt to allocate memory beyond the max allowed for the whole hierarchy wil cause an allocation failure. Stealing memory correctly accounts for used memory in the old and the new hierarchy but exceeding the memory limit in the new parent will not cause a failure.
Diffstat (limited to 'lib/talloc/wscript')
-rw-r--r--lib/talloc/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/talloc/wscript b/lib/talloc/wscript
index 447406bf6e..8d3246b26b 100644
--- a/lib/talloc/wscript
+++ b/lib/talloc/wscript
@@ -1,7 +1,7 @@
#!/usr/bin/env python
APPNAME = 'talloc'
-VERSION = '2.0.7'
+VERSION = '2.0.8'
blddir = 'bin'