mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
a33a78c302
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.
7 lines
320 B
Plaintext
7 lines
320 B
Plaintext
pytalloc_CObject_FromTallocPtr: PyObject *(void *)
|
|
pytalloc_Check: int (PyObject *)
|
|
pytalloc_GetObjectType: PyTypeObject *(void)
|
|
pytalloc_reference_ex: PyObject *(PyTypeObject *, TALLOC_CTX *, void *)
|
|
pytalloc_steal: PyObject *(PyTypeObject *, void *)
|
|
pytalloc_steal_ex: PyObject *(PyTypeObject *, TALLOC_CTX *, void *)
|