]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/sl_malloc.c
ITS#2883 initialize rc before running callbacks
[openldap] / servers / slapd / sl_malloc.c
index 4c862310e8ec27f4606e6772b132b66d00680b40..28ad962137ce78f13cc2d6117343eb8b15a726aa 100644 (file)
@@ -206,27 +206,6 @@ sl_free( void *ptr, void *ctx )
        }
 }
 
-void
-sl_release( void *ptr, void *ctx )
-{
-       struct slab_heap *sh = ctx;
-
-       if ( sh && ptr >= sh->h_base && ptr <= sh->h_end ) {
-               sh->h_last = ptr;
-       }
-}
-
-void *
-sl_mark( void *ctx )
-{
-       struct slab_heap *sh = ctx;
-       void *ret = NULL;
-
-       if (sh) ret = sh->h_last;
-
-       return ret;
-}
-
 void *
 sl_context( void *ptr )
 {