diff --git a/servers/slapd/sl_malloc.c b/servers/slapd/sl_malloc.c index 947e2967a1..23b0a1fb54 100644 --- a/servers/slapd/sl_malloc.c +++ b/servers/slapd/sl_malloc.c @@ -78,11 +78,6 @@ sl_mem_detach( void *memctx ) { - struct slab_heap *sh = memctx; - int size = (char *) sh->h_end - (char *) sh->h_base; - - sh->h_base = ch_realloc( sh->h_base, size ); - ldap_pvt_thread_pool_setkey( ctx, sl_mem_init, NULL, NULL ); }