Logo Search packages:      
Sourcecode: samba-doc-ja version File versions

talloc_chunk Struct Reference
[Simple memory allocator]

List of all members.

Detailed Description

We could allocate both the talloc_chunk structure, and the memory it contains all in one allocation, which might be a bit faster and perhaps use less memory overhead.
That smells like a premature optimization, though. -- mbp If you want testing for memory corruption, link with dmalloc or use Insure++. It doesn't seem useful to duplicate them here.

Definition at line 57 of file talloc.c.

Public Attributes

struct talloc_chunknext
void * ptr
size_t size

The documentation for this struct was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index