Age | Commit message (Collapse) | Author | Files | Lines |
|
using tee
(This used to be commit e73e49aaa64f6f976918f087cf196b00eecc3eb2)
|
|
(This used to be commit ad1af519eb1a138e44cc94676f845b8ba65e3371)
|
|
the type names that talloc already keeps around for pointers, and
allows the user to type check void* private pointers. It can also be
used to implement polymorphism in C, as I'm sure someone would have
pointed out to me sooner or later :-)
(This used to be commit c283e1a3efac3a92e29a35856e20eb61ef4c221e)
|
|
(This used to be commit 603ef69be075821e3ffe2084bb5cfb0bc9cce180)
|
|
- expanded the talloc_realloc() test a little (I was concerned about a
possible bug, which turned out to be an illusion)
- don't enable gcov by default in Makefile.talloc
(This used to be commit 4ec47cc1083c4cdb780e548177631c5914bf677a)
|
|
- add talloc_parent() to return the parent context of a pointer
these are very use full for debuging
metze
(This used to be commit 9b9501bc03ef8d4b53049f6b3531d06ed7ef7f89)
|
|
metze
(This used to be commit 4ab63d547903814318b74ea030bba9da0f36942f)
|
|
metze
(This used to be commit a88aac7a397972c52ca2fb192b58f2a172630a6e)
|
|
metze
(This used to be commit 11e006df1689d4b4b202bca640106fd789495284)
|
|
it doesn't
use TALLOC_DEPRECATED
(This used to be commit 2fe0e2528f14627832942f6404a4b1be4b556c97)
|
|
(This used to be commit 1177200dd9392c088f5b009f55390ad31c367e5f)
|
|
- added #if TALLOC_DEPRECATED around the _p functions
- fixes the code that broke from the above
while doing this I fixed quite a number of places that were
incorrectly using the non type-safe talloc functions to use the type
safe ones. Some were even doing multiplies for array allocation, which
is potentially unsafe.
(This used to be commit 6e7754abd0c225527fb38363996a6e241b87b37e)
|
|
talloc_p() macro. Use
talloc_size() if you want the old behaviour.
I have kept talloc_p() as an alias for now. Once we change all calls
to be plain talloc() then we can remove it.
(This used to be commit 2011bbeb841fd6bfccf3d44a49f79203f7f55baa)
|
|
talloc_size() or talloc_array_p() where appropriate.
also fixed a memory leak in pvfs_copy_file() (failed to free a memory
context)
(This used to be commit 89b74b53546e1570b11b3702f40bee58aed8c503)
|
|
talloc(ctx, 0) call.
- cleaned up some talloc usage in various files
I'd like to get to the point that we have no calls to talloc(), at
which point we will rename talloc_p() to talloc(), to encourage
everyone to use the typesafe functions.
(This used to be commit e6c81d7c9f8a6938947d3c1c8a971a0d6d50b67a)
|
|
context that
will automatically be freed on program exit. This is useful for reducing
clutter in leak reports
(This used to be commit cf73dda652e0a121901f22771104be6751c0fcb9)
|
|
- added gcov flags to Makefile.talloc
- expanded talloc testsuite to add a test for realloc with a child ptr
- fixed a bug in talloc_realloc() with realloc of a ptr that has child ptrs
(This used to be commit 98b5f73c1ba34d7576c5995069b485c1c5ede324)
|