Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | pytalloc: Fix warning that we are subtracting void* pointers | Kamen Mazdrashki | 2010-10-08 | 1 | -1/+1 |
| | | | | | Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Fri Oct 8 23:36:54 UTC 2010 on sn-devel-104 | ||||
* | pytalloc: Add default compare function. | Jelmer Vernooij | 2010-09-21 | 1 | -1/+14 |
| | |||||
* | pidl: Fix segfault when accessing unicode objects. | Jelmer Vernooij | 2010-09-20 | 1 | -9/+0 |
| | |||||
* | pidl-python: cope with NULL pointers in more places | Andrew Tridgell | 2010-09-02 | 1 | -0/+20 |
| | | | | NULL is converted to Py_None | ||||
* | pytalloc: treat a NULL ptr as Py_None | Andrew Tridgell | 2010-09-02 | 1 | -1/+7 |
| | |||||
* | pytalloc: fixed py_talloc_steal() | Andrew Tridgell | 2010-08-25 | 1 | -0/+8 |
| | | | | | | | | | | | py_talloc_steal() was implemented as a macro which evaluated it's 2nd argument twice. It was often called via a macro with a 2nd argument that was a function call, for example an allocation in py_talloc_new(). This meant it allocated memory twice, and leaked one of them. This re-implements py_talloc_steal() as a function, so that it only does the allocation once. | ||||
* | s4-pytalloc: use better names for python talloc objects | Andrew Tridgell | 2010-08-25 | 1 | -0/+2 |
| | |||||
* | pytalloc: allow for using a system libtalloc-dev with pytalloc | Andrew Tridgell | 2010-03-29 | 1 | -1/+1 |
| | | | | | | | | | When we have a system talloc library, we still need to grab pytalloc.h from lib/talloc. We don't want to just use -Ilib/talloc, as otherwise we'll get the in-tree talloc.h which may not be compatible with the system talloc.h So we need to give the path to pytalloc.h | ||||
* | s4: Include Python.h early to avoid double definition errors. | Jelmer Vernooij | 2010-01-21 | 1 | -0/+1 |
| | |||||
* | pidl: Avoid using talloc_free as function pointer, since it may be a | Jelmer Vernooij | 2009-09-28 | 1 | -0/+10 |
| | | | | macro. | ||||
* | DCE/RPC(Python): Rename py_talloc_import to py_talloc_steal. | Jelmer Vernooij | 2009-07-30 | 1 | -3/+3 |
| | | | | | Use py_talloc_reference in DCE/RPC code, fixes access to SAMR pipe. | ||||
* | fixed use of reference in pytalloc | Andrew Tridgell | 2009-07-01 | 1 | -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 | ||||
* | lib/talloc: include replace.h in pytalloc.c | Stefan Metzmacher | 2009-01-30 | 1 | -0/+1 |
| | | | | | | This fixes the build on Tru64. metze | ||||
* | pytalloc: Add some comments, use talloc object location in repr rather | Jelmer Vernooij | 2008-12-23 | 1 | -5/+15 |
| | | | | than python object location. | ||||
* | py: Fix initialisation of subtypes, fix segfaults. | Jelmer Vernooij | 2008-12-21 | 1 | -2/+2 |
| | |||||
* | Move pytalloc to talloc directory. | Jelmer Vernooij | 2008-10-24 | 1 | -0/+52 |