summaryrefslogtreecommitdiff
path: root/lib/talloc/pytalloc.c
AgeCommit message (Collapse)AuthorFilesLines
2009-07-01fixed use of reference in pytallocAndrew Tridgell1-3/+23
The previous code caused memory leaks, and also caused situations where talloc_free could be called on pointers with multiple parents The new approach is to have two functions: py_talloc_import : steals the pointer, so it becomes wholly owned by the python object py_talloc_reference: uses a reference, so it is owned by both python and C
2009-01-30lib/talloc: include replace.h in pytalloc.cStefan Metzmacher1-0/+1
This fixes the build on Tru64. metze
2008-12-23pytalloc: Add some comments, use talloc object location in repr ratherJelmer Vernooij1-5/+15
than python object location.
2008-12-21py: Fix initialisation of subtypes, fix segfaults.Jelmer Vernooij1-2/+2
2008-10-24Move pytalloc to talloc directory.Jelmer Vernooij1-0/+52