1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
https://gitlab.com/samba-team/samba is the Official GitLab mirror of https://git.samba.org/samba.git -- Merge requests should be made on GitLab (not on GitHub)
Go to file
Andrew Tridgell 4f55a7af08 r2049: talloc now has destructors and reference counts
this means you can do:

  talloc_set_destructor(ptr, my_destructor);

and your destructor will be called with the pointer as an argument
when the pointer is about to be freed. The destructor can refuse the
free by returning -1.

You can also increase the reference count on a pointer like this:

  talloc_increase_ref_count(ptr);

and a talloc_free() will just reduce the reference count, only
actually freeing the memory when the count reaches zero.
(This used to be commit b5608d52d3)
2007-10-10 12:58:21 -05:00
packaging/debian r1033: Include new manpages 2007-10-10 12:56:31 -05:00
source4 r2049: talloc now has destructors and reference counts 2007-10-10 12:58:21 -05:00
COPYING r1662: add a copy of the GPL text to the samba4 svn tree 2007-10-10 12:57:47 -05:00
prog_guide.txt r955: Update debian package rules... builds now 2007-10-10 12:56:22 -05:00
swat2.txt r1273: An initial doc about what I'd like to see in the swat for samba4. Please 2007-10-10 12:56:48 -05:00