summaryrefslogtreecommitdiff
path: root/source3/lib/memcache.c
AgeCommit message (Collapse)AuthorFilesLines
2011-03-27s3: Fix Coverity ID 590: DEADCODEVolker Lendecke1-4/+0
2010-02-10s3-memcache: update memcache to use new DLIST macrosAndrew Tridgell1-18/+3
we don't need a separate lru pointer any more (cherry picked from commit 4ffd7aca3e38728077bd80c2a65c4efbcfd216fc)
2008-11-15Attempt to fix the buildVolker Lendecke1-1/+1
I have no idea how this could have happened. Probably done a make and make test in a different tree than the one I have done the push from. Sorry. Volker
2008-11-14Make memcache_add_talloc NULL out the source pointerVolker Lendecke1-2/+12
This is an orthogonality measure to make clear this pointer now belongs to the cache. (cherry picked from commit e6080c6e87d6fe3995b121a772bf3f6343fa666f)
2008-11-14Actually finish memcache_add_tallocVolker Lendecke1-1/+36
This fixes a memleak found by Martin Zielinski <mz@seh.de>. Thanks for looking closely! Volker (cherry picked from commit a31a84a078100819809e6d40dbc3df207a50a0b2)
2008-11-06Make us clean under valgrind --leak-check=full by using ↵Jeremy Allison1-26/+0
talloc_autofree_context() instead of NULL. Remove the code in memcache that does a TALLOC_FREE on stored pointers. That's a disaster waiting to happen. If you're storing talloc'ed pointers, you can't know their lifecycle and they should be deleted when their parent context is deleted, so freeing them at some arbitrary point later will be a double-free. Jeremy.
2008-10-12Move rbtree.[ch] to lib/util.Jelmer Vernooij1-1/+1
2008-05-20Fix memcache_flush()Volker Lendecke1-5/+34
I have no idea what I've been smoking when I checked this in :-( Karolin, this fixes the join bug 3.0.28->3.2.0rc1 Thanks, Volker (This used to be commit f845dbbceeff032cd248117ddf63af3d3736b21c)
2007-12-28Convert get_root_nt_token to memcacheVolker Lendecke1-0/+1
(This used to be commit fada689893314bed2fc78588b3fd9b144f4c808a)
2007-12-28Convert csamuser to memcacheVolker Lendecke1-0/+1
(This used to be commit 476d3abf9c6142d99822212141fc3d843aca4798)
2007-12-21Fix the build on SolarisVolker Lendecke1-1/+1
(This used to be commit 5f5e52ba7b3862dc72a16d84e07503e98ccbbf8a)
2007-12-21Some C++ warningsVolker Lendecke1-1/+1
(This used to be commit 5ab82d4f574f2a2e2761e9e414c66a70aeffb05d)
2007-12-21Add memcache_add_tallocVolker Lendecke1-0/+52
The first memcache API only had blobs, but we have quite a few objects that are more complex talloc'ed structues. The current one I'm looking at is the getpwnam cache, but there are others around. (This used to be commit ea0e5ad9a15c848904dee8cb2d3e392b6a894705)
2007-12-21Add a global cacheVolker Lendecke1-0/+36
It hurts, but I think this global variable is necessary for transition, and it has the potential to remove quite a few other global variables without messing with APIs too much. (This used to be commit c131d0dc52ec09c9227eff3d68877369c37aaed5)
2007-12-19Rename cache.[ch] to memcache.[ch]Volker Lendecke1-0/+298
cache.h conflicts with an XFS DMAPI include on "opi" :-( (This used to be commit b8db804e07cc19d406ba3892d6eecbe16132a89a)